From f212500fe8261434c6bc6b6f3ed631474aac2c6c Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Mon, 14 Oct 2024 11:49:20 +0530 Subject: [PATCH] fix: remove prints --- .../java/io/supertokens/test/oauth/api/TestImplicitFlow.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/test/java/io/supertokens/test/oauth/api/TestImplicitFlow.java b/src/test/java/io/supertokens/test/oauth/api/TestImplicitFlow.java index e9fffdcd9..203355307 100644 --- a/src/test/java/io/supertokens/test/oauth/api/TestImplicitFlow.java +++ b/src/test/java/io/supertokens/test/oauth/api/TestImplicitFlow.java @@ -109,7 +109,6 @@ public void testImplicitGrantFlow() throws Exception { authRequestBody.add("params", params); JsonObject authResponse = OAuthAPIHelper.auth(process.getProcess(), authRequestBody); - System.out.println("AuthResponse: " + authResponse); String cookies = authResponse.get("cookies").getAsJsonArray().get(0).getAsString(); cookies = cookies.split(";")[0]; @@ -129,7 +128,6 @@ public void testImplicitGrantFlow() throws Exception { acceptLoginRequestBody.addProperty("rememberFor", 3600); JsonObject acceptLoginRequestResponse = OAuthAPIHelper.acceptLoginRequest(process.getProcess(), acceptLoginRequestParams, acceptLoginRequestBody); - System.out.println("AcceptLoginRequest: " + acceptLoginRequestResponse); redirectTo = acceptLoginRequestResponse.get("redirectTo").getAsString(); redirectTo = redirectTo.replace("{apiDomain}", "http://localhost:3001/auth"); @@ -145,7 +143,6 @@ public void testImplicitGrantFlow() throws Exception { authRequestBody.addProperty("cookies", cookies); authResponse = OAuthAPIHelper.auth(process.getProcess(), authRequestBody); - System.out.println(authResponse); redirectTo = authResponse.get("redirectTo").getAsString(); redirectTo = redirectTo.replace("{apiDomain}", "http://localhost:3001/auth"); @@ -171,7 +168,6 @@ public void testImplicitGrantFlow() throws Exception { queryParams.put("consentChallenge", consentChallenge); JsonObject acceptConsentRequestResponse = OAuthAPIHelper.acceptConsentRequest(process.getProcess(), queryParams, acceptConsentRequestBody); - System.out.println("AcceptConsentRequest: " + acceptConsentRequestResponse); redirectTo = acceptConsentRequestResponse.get("redirectTo").getAsString(); redirectTo = redirectTo.replace("{apiDomain}", "http://localhost:3001/auth"); @@ -187,7 +183,6 @@ public void testImplicitGrantFlow() throws Exception { authRequestBody.addProperty("cookies", cookies); authResponse = OAuthAPIHelper.auth(process.getProcess(), authRequestBody); - System.out.println(authResponse); process.kill(); assertNotNull(process.checkOrWaitForEvent(ProcessState.PROCESS_STATE.STOPPED));