File tree 1 file changed +3
-3
lines changed
src/test/java/io/supertokens/test/accountlinking/api
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 {
156
156
WebserverAPI .getLatestCDIVersion ().get (), "" );
157
157
}
158
158
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
160
160
userCount = ActiveUsers .countUsersActiveSince (process .getProcess (), System .currentTimeMillis () - 10000 );
161
- assertEquals (2 , userCount );
161
+ assertEquals (1 , userCount );
162
162
163
163
// Sign in to the accounts once again
164
164
{
@@ -188,7 +188,7 @@ public void testActiveUserIsRemovedAfterLinkingAccounts() throws Exception {
188
188
189
189
// there should still be only one active user
190
190
userCount = ActiveUsers .countUsersActiveSince (process .getProcess (), System .currentTimeMillis () - 10000 );
191
- assertEquals (2 , userCount );
191
+ assertEquals (1 , userCount );
192
192
193
193
process .kill ();
194
194
assertNotNull (process .checkOrWaitForEvent (ProcessState .PROCESS_STATE .STOPPED ));
You can’t perform that action at this time.
0 commit comments