mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-06 11:58:38 +00:00
Use UtcNow instead of Now for internal time keeping (#965)
This commit is contained in:
parent
c529dada35
commit
092f8bc5a2
15 changed files with 26 additions and 26 deletions
|
@ -28,7 +28,7 @@ public class AdminTests : LighthouseWebTest
|
|||
{
|
||||
UserId = user.UserId,
|
||||
UserToken = CryptoHelper.GenerateAuthToken(),
|
||||
ExpiresAt = DateTime.Now + TimeSpan.FromHours(1),
|
||||
ExpiresAt = DateTime.UtcNow + TimeSpan.FromHours(1),
|
||||
Verified = true,
|
||||
};
|
||||
|
||||
|
@ -55,7 +55,7 @@ public class AdminTests : LighthouseWebTest
|
|||
{
|
||||
UserId = user.UserId,
|
||||
UserToken = CryptoHelper.GenerateAuthToken(),
|
||||
ExpiresAt = DateTime.Now + TimeSpan.FromHours(1),
|
||||
ExpiresAt = DateTime.UtcNow + TimeSpan.FromHours(1),
|
||||
Verified = true,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue