aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Helpers/TestUsers.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-08-01 21:22:55 +0800
committer杨宇千 <crupest@outlook.com>2019-08-01 21:22:55 +0800
commit2ef31740d62a415e7df59f22c450ae954ee97193 (patch)
tree234ec46171bb5d86d8ff569e69cdd41807df7ef7 /Timeline.Tests/Helpers/TestUsers.cs
parent85d25348c9d6ad527b86c57fd5023829c8b9d6bf (diff)
downloadtimeline-2ef31740d62a415e7df59f22c450ae954ee97193.tar.gz
timeline-2ef31740d62a415e7df59f22c450ae954ee97193.tar.bz2
timeline-2ef31740d62a415e7df59f22c450ae954ee97193.zip
Expired token now has a unique code.
Diffstat (limited to 'Timeline.Tests/Helpers/TestUsers.cs')
-rw-r--r--Timeline.Tests/Helpers/TestUsers.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Timeline.Tests/Helpers/TestUsers.cs b/Timeline.Tests/Helpers/TestUsers.cs
index dd00e38d..ceecc7c0 100644
--- a/Timeline.Tests/Helpers/TestUsers.cs
+++ b/Timeline.Tests/Helpers/TestUsers.cs
@@ -17,13 +17,15 @@ namespace Timeline.Tests.Helpers
{
Name = "user",
EncryptedPassword = passwordService.HashPassword("user"),
- RoleString = "user"
+ RoleString = "user",
+ Version = 0,
});
mockUsers.Add(new User
{
Name = "admin",
EncryptedPassword = passwordService.HashPassword("admin"),
- RoleString = "user,admin"
+ RoleString = "user,admin",
+ Version = 0,
});
MockUsers = mockUsers;