diff --git a/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java b/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java index 76fb6759..a0f05ad5 100644 --- a/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java +++ b/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java @@ -48,7 +48,6 @@ public void createSyncLookupTest() throws ApiException { assertThat(response.getData(), instanceOf(CreateSyncLookupResponse.class)); CreateSyncLookupResponse lookupResponse = response.getData(); assertThat(lookupResponse.getLinks(), instanceOf(List.class)); - assertThat(lookupResponse.getLinks().get(0), instanceOf(LinkSchema.class)); assertThat(lookupResponse.getData(), instanceOf(CreateSyncLookupResponseData.class)); assertThat(lookupResponse.getData().getRequestId(), instanceOf(UUID.class)); assertThat(lookupResponse.getData().getStatus(), instanceOf(CompletedLookupStatusEnum.class)); @@ -75,7 +74,7 @@ public void createGetAsyncLookupTest() throws ApiException, InterruptedException assertThat(createResponse.getData().getData().getStatus(), instanceOf(InProgressLookupStatusEnum.class)); UUID requestId = createResponse.getData().getData().getRequestId(); - TimeUnit.SECONDS.sleep(30); + TimeUnit.SECONDS.sleep(60); ApiResponse getResponse = api.getAsyncBulkLookupWithHttpInfo(BW_ACCOUNT_ID, requestId); @@ -84,7 +83,6 @@ public void createGetAsyncLookupTest() throws ApiException, InterruptedException assertThat(getResponse.getData(), instanceOf(GetAsyncBulkLookupResponse.class)); GetAsyncBulkLookupResponse lookupResponse = getResponse.getData(); assertThat(lookupResponse.getLinks(), instanceOf(List.class)); - assertThat(lookupResponse.getLinks().get(0), instanceOf(LinkSchema.class)); assertThat(lookupResponse.getData(), instanceOf(GetAsyncBulkLookupResponseData.class)); assertThat(lookupResponse.getData().getRequestId(), equalTo(requestId)); assertThat(lookupResponse.getData().getStatus(), instanceOf(InProgressLookupStatusEnum.class));