Skip to content

Commit 02b486c

Browse files
minnieliuMinnie Liu
andauthored
[Communication] - Phone Numbers - Enable Search Toll Free Phone Number Tests (Azure#20911)
* Enable Search Toll Free Phone Number Tests * Update code coverage * Update code coverage Co-authored-by: Minnie Liu <peiliu@microsoft.com>
1 parent 2ea8f94 commit 02b486c

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

sdk/communication/azure-communication-phonenumbers/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
<properties>
5050
<src.dir>src/main</src.dir>
5151
<test.dir>src/test</test.dir>
52-
<jacoco.min.linecoverage>0.57</jacoco.min.linecoverage>
53-
<jacoco.min.branchcoverage>0.59</jacoco.min.branchcoverage>
52+
<jacoco.min.linecoverage>0.68</jacoco.min.linecoverage>
53+
<jacoco.min.branchcoverage>0.66</jacoco.min.branchcoverage>
5454
<jacoco.skip.coverage.check>false</jacoco.skip.coverage.check>
5555
</properties>
5656

sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersAsyncClientIntegrationTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ public void listPurchasedPhoneNumbers(HttpClient httpClient) {
9595

9696
@ParameterizedTest
9797
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
98-
@DisabledIfEnvironmentVariable(
99-
named = "SKIP_LIVE_TEST",
100-
matches = "(?i)(true)")
10198
public void beginSearchAvailablePhoneNumbers(HttpClient httpClient) {
10299
StepVerifier.create(
103100
beginSearchAvailablePhoneNumbersHelper(httpClient, "beginSearchAvailablePhoneNumbers", true).last()
@@ -113,9 +110,6 @@ public void beginSearchAvailablePhoneNumbers(HttpClient httpClient) {
113110

114111
@ParameterizedTest
115112
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
116-
@DisabledIfEnvironmentVariable(
117-
named = "SKIP_LIVE_TEST",
118-
matches = "(?i)(true)")
119113
public void beginSearchAvailablePhoneNumbersWithoutOptions(HttpClient httpClient) {
120114
StepVerifier.create(
121115
beginSearchAvailablePhoneNumbersHelper(httpClient, "beginSearchAvailablePhoneNumbersWithoutOptions", false).last()

sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/PhoneNumbersClientIntegrationTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ public void listPurchasedPhoneNumbersWithoutContext(HttpClient httpClient) {
8888

8989
@ParameterizedTest
9090
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
91-
@DisabledIfEnvironmentVariable(
92-
named = "SKIP_LIVE_TEST",
93-
matches = "(?i)(true)")
9491
public void beginSearchAvailablePhoneNumbers(HttpClient httpClient) {
9592
PhoneNumberSearchResult searchResult = beginSearchAvailablePhoneNumbersHelper(httpClient, "beginSearchAvailablePhoneNumbersSync", true).getFinalResult();
9693
assertEquals(searchResult.getPhoneNumbers().size(), 1);

0 commit comments

Comments
 (0)