From d67647d3630875bbef532c7fba7bc769cf033bbb Mon Sep 17 00:00:00 2001 From: Rishabh Date: Fri, 1 Apr 2022 18:10:17 +0530 Subject: [PATCH] fixes to test --- .../supertokens/test/emailpassword/PasswordHashingTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/java/io/supertokens/test/emailpassword/PasswordHashingTest.java b/src/test/java/io/supertokens/test/emailpassword/PasswordHashingTest.java index b1640faf3..d95d351f3 100644 --- a/src/test/java/io/supertokens/test/emailpassword/PasswordHashingTest.java +++ b/src/test/java/io/supertokens/test/emailpassword/PasswordHashingTest.java @@ -230,6 +230,10 @@ public void invalidConfigArgonButUsingBcryptShouldAllowStartingServer() throws E TestingProcessManager.TestingProcess process = TestingProcessManager.start(args); assertNotNull(process.checkOrWaitForEvent(ProcessState.PROCESS_STATE.STARTED)); + if (StorageLayer.getStorage(process.getProcess()).getType() != STORAGE_TYPE.SQL) { + return; + } + EmailPassword.signUp(process.getProcess(), "t@a.com", "somePassword"); EmailPassword.signIn(process.getProcess(), "t@a.com", "somePassword");