From 6a7bca39bedfb2c8e4c5ea3fa0ab172c888bef6c Mon Sep 17 00:00:00 2001 From: ckoegel Date: Tue, 24 Mar 2026 15:46:30 -0400 Subject: [PATCH 1/3] SWI-10072 Fix TN Lookup Smoke Test --- .../java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java b/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java index 4c7c1af8..62b80371 100644 --- a/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java +++ b/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java @@ -57,7 +57,6 @@ public void createSyncLookupTest() throws ApiException { assertThat(firstResult.getPhoneNumber(), instanceOf(String.class)); assertThat(firstResult.getLineType(), instanceOf(LineTypeEnum.class)); assertThat(firstResult.getMessagingProvider(), instanceOf(String.class)); - assertThat(firstResult.getVoiceProvider(), instanceOf(String.class)); assertThat(firstResult.getCountryCodeA3(), instanceOf(String.class)); } @@ -93,7 +92,6 @@ public void createGetAsyncLookupTest() throws ApiException, InterruptedException LookupResult firstResult = lookupResponse.getData().getResults().get(0); assertThat(firstResult.getPhoneNumber(), instanceOf(String.class)); assertThat(firstResult.getLineType(), instanceOf(LineTypeEnum.class)); - assertThat(firstResult.getMessagingProvider(), instanceOf(String.class)); assertThat(firstResult.getVoiceProvider(), instanceOf(String.class)); assertThat(firstResult.getCountryCodeA3(), instanceOf(String.class)); } From 486e2d9f6b819be6c022d3dd03894ae378909427 Mon Sep 17 00:00:00 2001 From: ckoegel Date: Tue, 24 Mar 2026 15:54:01 -0400 Subject: [PATCH 2/3] delete the right thing --- .../java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java b/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java index 62b80371..a5139d94 100644 --- a/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java +++ b/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java @@ -56,7 +56,7 @@ public void createSyncLookupTest() throws ApiException { LookupResult firstResult = lookupResponse.getData().getResults().get(0); assertThat(firstResult.getPhoneNumber(), instanceOf(String.class)); assertThat(firstResult.getLineType(), instanceOf(LineTypeEnum.class)); - assertThat(firstResult.getMessagingProvider(), instanceOf(String.class)); + assertThat(firstResult.getVoiceProvider(), instanceOf(String.class)); assertThat(firstResult.getCountryCodeA3(), instanceOf(String.class)); } @@ -92,6 +92,7 @@ public void createGetAsyncLookupTest() throws ApiException, InterruptedException LookupResult firstResult = lookupResponse.getData().getResults().get(0); assertThat(firstResult.getPhoneNumber(), instanceOf(String.class)); assertThat(firstResult.getLineType(), instanceOf(LineTypeEnum.class)); + assertThat(firstResult.getMessagingProvider(), instanceOf(String.class)); assertThat(firstResult.getVoiceProvider(), instanceOf(String.class)); assertThat(firstResult.getCountryCodeA3(), instanceOf(String.class)); } From caed8278a88bc96650eefe52661e4cfb8d2d0150 Mon Sep 17 00:00:00 2001 From: ckoegel Date: Tue, 24 Mar 2026 15:57:51 -0400 Subject: [PATCH 3/3] AND DELETE THE ONE I ALREADY REMOVED --- .../java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java b/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java index a5139d94..76fb6759 100644 --- a/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java +++ b/src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java @@ -92,7 +92,6 @@ public void createGetAsyncLookupTest() throws ApiException, InterruptedException LookupResult firstResult = lookupResponse.getData().getResults().get(0); assertThat(firstResult.getPhoneNumber(), instanceOf(String.class)); assertThat(firstResult.getLineType(), instanceOf(LineTypeEnum.class)); - assertThat(firstResult.getMessagingProvider(), instanceOf(String.class)); assertThat(firstResult.getVoiceProvider(), instanceOf(String.class)); assertThat(firstResult.getCountryCodeA3(), instanceOf(String.class)); }