aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Helpers/TestDatabase.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-01-29 00:17:45 +0800
committercrupest <crupest@outlook.com>2020-01-29 00:17:45 +0800
commitb6043126fae039c58512f60a576b10925b06df4c (patch)
tree480e4e0fa03f0736cfee97876603fdb87d3fd3bd /Timeline.Tests/Helpers/TestDatabase.cs
parent1a653fca9e4e3371dd65782c987a736e2259d66a (diff)
downloadtimeline-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.cs6
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
};
}