diff options
author | 杨宇千 <crupest@outlook.com> | 2019-08-04 14:47:17 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-08-04 14:47:17 +0800 |
commit | c1586e28e44835b3636fb63e31f613de4a30bc1e (patch) | |
tree | 049034077f7852e8c93d9f4e66dda91de53c8d92 /Timeline.Tests/Helpers/TestUsers.cs | |
parent | bdf65726cf3c8efa6470d199d775f36801ecff79 (diff) | |
download | timeline-c1586e28e44835b3636fb63e31f613de4a30bc1e.tar.gz timeline-c1586e28e44835b3636fb63e31f613de4a30bc1e.tar.bz2 timeline-c1586e28e44835b3636fb63e31f613de4a30bc1e.zip |
Clean codes.
Diffstat (limited to 'Timeline.Tests/Helpers/TestUsers.cs')
-rw-r--r-- | Timeline.Tests/Helpers/TestUsers.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline.Tests/Helpers/TestUsers.cs b/Timeline.Tests/Helpers/TestUsers.cs index 60ea5e27..41dd83a9 100644 --- a/Timeline.Tests/Helpers/TestUsers.cs +++ b/Timeline.Tests/Helpers/TestUsers.cs @@ -17,14 +17,14 @@ namespace Timeline.Tests.Helpers { Name = "user", EncryptedPassword = passwordService.HashPassword("user"), - RoleString = "user", + RoleString = UserUtility.IsAdminToRoleString(false), Version = 0, }); mockUsers.Add(new User { Name = "admin", EncryptedPassword = passwordService.HashPassword("admin"), - RoleString = "user,admin", + RoleString = UserUtility.IsAdminToRoleString(true), Version = 0, }); |