File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/io/supertokens/test/accountlinking/api Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ public void testActiveUserIsRemovedAfterLinkingAccounts() throws Exception {
156156 WebserverAPI .getLatestCDIVersion ().get (), "" );
157157 }
158158
159- // we don't remove the active user for the recipe user, so it should still be 2
159+ // we remove the active user for the recipe user, so it should be 1
160160 userCount = ActiveUsers .countUsersActiveSince (process .getProcess (), System .currentTimeMillis () - 10000 );
161- assertEquals (2 , userCount );
161+ assertEquals (1 , userCount );
162162
163163 // Sign in to the accounts once again
164164 {
@@ -188,7 +188,7 @@ public void testActiveUserIsRemovedAfterLinkingAccounts() throws Exception {
188188
189189 // there should still be only one active user
190190 userCount = ActiveUsers .countUsersActiveSince (process .getProcess (), System .currentTimeMillis () - 10000 );
191- assertEquals (2 , userCount );
191+ assertEquals (1 , userCount );
192192
193193 process .kill ();
194194 assertNotNull (process .checkOrWaitForEvent (ProcessState .PROCESS_STATE .STOPPED ));
You can’t perform that action at this time.
0 commit comments