File tree Expand file tree Collapse file tree
RefreshTests.GameServer/Tests/ApiV3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -342,16 +342,22 @@ public void CanRenameUserBackAndForth()
342342 Assert . That ( modifiedOwner , Is . Not . Null ) ;
343343 Assert . That ( modifiedOwner ! . Username , Is . EqualTo ( "original_2" ) ) ;
344344
345+ context . Time . TimestampMilliseconds += 1000 ;
346+
345347 context . Database . RenameUser ( owner , "original" ) ;
346348 modifiedOwner = context . Database . GetUserByObjectId ( owner . UserId ) ;
347349 Assert . That ( modifiedOwner , Is . Not . Null ) ;
348350 Assert . That ( modifiedOwner ! . Username , Is . EqualTo ( "original" ) ) ;
349351
352+ context . Time . TimestampMilliseconds += 1000 ;
353+
350354 context . Database . RenameUser ( owner , "original_2" ) ;
351355 modifiedOwner = context . Database . GetUserByObjectId ( owner . UserId ) ;
352356 Assert . That ( modifiedOwner , Is . Not . Null ) ;
353357 Assert . That ( modifiedOwner ! . Username , Is . EqualTo ( "original_2" ) ) ;
354358
359+ context . Time . TimestampMilliseconds += 1000 ;
360+
355361 context . Database . RenameUser ( owner , "original" ) ;
356362 modifiedOwner = context . Database . GetUserByObjectId ( owner . UserId ) ;
357363 Assert . That ( modifiedOwner , Is . Not . Null ) ;
You can’t perform that action at this time.
0 commit comments