Skip to content

Commit 86a31f1

Browse files
committed
added rng in mfaVerify
1 parent 8a65ae2 commit 86a31f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/bandwidth/ApiTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,9 @@ public void testMfaVoiceInvalidPhoneNumber() throws Exception {
287287

288288
@Test
289289
public void testMfaVerify() throws Exception {
290+
java.util.Random wheelOfPhoneNumbers = new java.util.Random(System.currentTimeMillis());
290291
String accountId = System.getenv("BW_ACCOUNT_ID");
291-
String to = System.getenv("USER_NUMBER");
292+
String to = "+1000" + wheelOfPhoneNumbers.nextInt(10000000);
292293
String applicationId = System.getenv("BW_VOICE_APPLICATION_ID");
293294
String scope = "scope";
294295
String code = "123456";

0 commit comments

Comments
 (0)