Skip to content

Commit 5c1bca2

Browse files
authored
SWI-10392 Update PhoneNumberLookupApiTest.java (#237)
* SWI-10392 Update PhoneNumberLookupApiTest.java * remove link assertions from GETs
1 parent 152fa1a commit 5c1bca2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public void createSyncLookupTest() throws ApiException {
4848
assertThat(response.getData(), instanceOf(CreateSyncLookupResponse.class));
4949
CreateSyncLookupResponse lookupResponse = response.getData();
5050
assertThat(lookupResponse.getLinks(), instanceOf(List.class));
51-
assertThat(lookupResponse.getLinks().get(0), instanceOf(LinkSchema.class));
5251
assertThat(lookupResponse.getData(), instanceOf(CreateSyncLookupResponseData.class));
5352
assertThat(lookupResponse.getData().getRequestId(), instanceOf(UUID.class));
5453
assertThat(lookupResponse.getData().getStatus(), instanceOf(CompletedLookupStatusEnum.class));
@@ -75,7 +74,7 @@ public void createGetAsyncLookupTest() throws ApiException, InterruptedException
7574
assertThat(createResponse.getData().getData().getStatus(), instanceOf(InProgressLookupStatusEnum.class));
7675
UUID requestId = createResponse.getData().getData().getRequestId();
7776

78-
TimeUnit.SECONDS.sleep(30);
77+
TimeUnit.SECONDS.sleep(60);
7978

8079
ApiResponse<GetAsyncBulkLookupResponse> getResponse
8180
= api.getAsyncBulkLookupWithHttpInfo(BW_ACCOUNT_ID, requestId);
@@ -84,7 +83,6 @@ public void createGetAsyncLookupTest() throws ApiException, InterruptedException
8483
assertThat(getResponse.getData(), instanceOf(GetAsyncBulkLookupResponse.class));
8584
GetAsyncBulkLookupResponse lookupResponse = getResponse.getData();
8685
assertThat(lookupResponse.getLinks(), instanceOf(List.class));
87-
assertThat(lookupResponse.getLinks().get(0), instanceOf(LinkSchema.class));
8886
assertThat(lookupResponse.getData(), instanceOf(GetAsyncBulkLookupResponseData.class));
8987
assertThat(lookupResponse.getData().getRequestId(), equalTo(requestId));
9088
assertThat(lookupResponse.getData().getStatus(), instanceOf(InProgressLookupStatusEnum.class));

0 commit comments

Comments
 (0)