diff options
author | crupest <crupest@outlook.com> | 2019-04-21 22:40:55 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-21 22:40:55 +0800 |
commit | fce9074be199b1c100481f49ccd9e231df2b84c8 (patch) | |
tree | 0c11599db7dc276730bfb1cb12966c6cc95fe3e2 | |
parent | edac531b7c0bfc40bc9b6f5c6f1abe71f71cd9e0 (diff) | |
download | timeline-fce9074be199b1c100481f49ccd9e231df2b84c8.tar.gz timeline-fce9074be199b1c100481f49ccd9e231df2b84c8.tar.bz2 timeline-fce9074be199b1c100481f49ccd9e231df2b84c8.zip |
Fix a bug in test code.
-rw-r--r-- | Timeline.Tests/Helpers/TestUsers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline.Tests/Helpers/TestUsers.cs b/Timeline.Tests/Helpers/TestUsers.cs index b7005d54..89ddf218 100644 --- a/Timeline.Tests/Helpers/TestUsers.cs +++ b/Timeline.Tests/Helpers/TestUsers.cs @@ -28,7 +28,7 @@ namespace Timeline.Tests.Helpers MockUsers = mockUsers; - var mockUserInfos = mockUsers.Select(u => new UserInfo(u)).ToList(); + var mockUserInfos = mockUsers.Select(u => UserInfo.Create(u)).ToList(); mockUserInfos.Sort(UserInfo.Comparer); MockUserInfos = mockUserInfos; } |