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
commit2750a3df1834c1c6623aa8c653504c7bc12cefd6 (patch)
tree480e4e0fa03f0736cfee97876603fdb87d3fd3bd /Timeline.Tests/Helpers/TestDatabase.cs
parent20347298c57e97287f586479fd9a52ba85565406 (diff)
downloadtimeline-2750a3df1834c1c6623aa8c653504c7bc12cefd6.tar.gz
timeline-2750a3df1834c1c6623aa8c653504c7bc12cefd6.tar.bz2
timeline-2750a3df1834c1c6623aa8c653504c7bc12cefd6.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
};
}