File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
src/test/java/org/openapitools/client/api Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 2626
2727import java .net .URI ;
2828
29- import javax .security .auth .AuthPermission ;
30-
3129import static org .hamcrest .MatcherAssert .assertThat ;
3230import static org .hamcrest .CoreMatchers .instanceOf ;
3331import static org .hamcrest .Matchers .greaterThan ;
Original file line number Diff line number Diff line change @@ -73,10 +73,9 @@ public void successfulMfaVerifyCodeRequest() throws ApiException {
7373 Long minTn = 1111111111L ;
7474 Long maxTn = 9999999999L ;
7575 Long randomInt = ThreadLocalRandom .current ().nextLong (maxTn - minTn ) + minTn ;
76- System .out .println (random_int );
7776
7877 VerifyCodeRequest request = new VerifyCodeRequest ();
79- request .setTo ("+1" + random_int .toString ());
78+ request .setTo ("+1" + randomInt .toString ());
8079 request .setScope ("2FA" );
8180 request .setExpirationTimeInMinutes (expirationTime );
8281 request .setCode ("123456" );
@@ -128,7 +127,6 @@ public void unauthorizedRequest() throws ApiException {
128127 () -> api .generateMessagingCodeWithHttpInfo (BW_ACCOUNT_ID ,
129128 request ));
130129 assertThat (exception .getCode (), is (401 ));
131- System .out .println (exception .getCode ());
132130 }
133131
134132 @ Test
You can’t perform that action at this time.
0 commit comments