diff options
author | crupest <crupest@outlook.com> | 2020-01-29 00:17:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-01-29 00:17:45 +0800 |
commit | b6043126fae039c58512f60a576b10925b06df4c (patch) | |
tree | 480e4e0fa03f0736cfee97876603fdb87d3fd3bd /Timeline.Tests/Helpers/TestDatabase.cs | |
parent | 1a653fca9e4e3371dd65782c987a736e2259d66a (diff) | |
download | timeline-b6043126fae039c58512f60a576b10925b06df4c.tar.gz timeline-b6043126fae039c58512f60a576b10925b06df4c.tar.bz2 timeline-b6043126fae039c58512f60a576b10925b06df4c.zip |
...
Diffstat (limited to 'Timeline.Tests/Helpers/TestDatabase.cs')
-rw-r--r-- | Timeline.Tests/Helpers/TestDatabase.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Timeline.Tests/Helpers/TestDatabase.cs b/Timeline.Tests/Helpers/TestDatabase.cs index 3163279a..e29a71fa 100644 --- a/Timeline.Tests/Helpers/TestDatabase.cs +++ b/Timeline.Tests/Helpers/TestDatabase.cs @@ -18,9 +18,9 @@ namespace Timeline.Tests.Helpers { return new UserEntity { - Name = user.Username, - EncryptedPassword = PasswordService.HashPassword(user.Password), - RoleString = UserRoleConvert.ToString(user.Administrator), + Username = user.Username, + Password = PasswordService.HashPassword(user.Password), + Roles = UserRoleConvert.ToString(user.Administrator), Avatar = null }; } |