File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
src/test/java/io/supertokens/test/oauth/api Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1616
1717package io .supertokens .test .oauth .api ;
1818
19- import java .util .HashMap ;
20- import java .util .Map ;
21- import java .net .URLEncoder ;
22- import java .nio .charset .StandardCharsets ;
23-
2419import com .google .gson .JsonElement ;
2520import com .google .gson .JsonObject ;
26-
2721import io .supertokens .Main ;
2822import io .supertokens .oauth .HttpRequestForOAuthProvider ;
2923import io .supertokens .test .httpRequest .HttpRequestForTesting ;
3024import io .supertokens .utils .SemVer ;
3125
26+ import java .net .URLEncoder ;
27+ import java .nio .charset .StandardCharsets ;
28+ import java .util .HashMap ;
29+ import java .util .Map ;
30+
3231public class OAuthAPIHelper {
3332 public static void resetOAuthProvider () {
3433 try {
@@ -47,7 +46,7 @@ public static void resetOAuthProvider() {
4746 HttpRequestForOAuthProvider .doGet ("http://localhost:4444/.well-known/jwks.json" , new HashMap <>(), new HashMap <>());
4847 Thread .sleep (1000 );
4948 } catch (Exception e ) {
50- throw new RuntimeException ( e );
49+ //ignore error. later on the tests would fail anyway
5150 }
5251 }
5352
You can’t perform that action at this time.
0 commit comments