aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/DatabaseTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-01-21 01:11:17 +0800
committercrupest <crupest@outlook.com>2020-01-21 01:11:17 +0800
commit747bf829351c30069647a44f98ac19f1a214370f (patch)
treea45506852659b9d8e2bfe0b9e58a496060f7cd9b /Timeline.Tests/DatabaseTest.cs
parent40eea04e1ec9b71c5215e9dce5a6963ea60cafaa (diff)
downloadtimeline-747bf829351c30069647a44f98ac19f1a214370f.tar.gz
timeline-747bf829351c30069647a44f98ac19f1a214370f.tar.bz2
timeline-747bf829351c30069647a44f98ac19f1a214370f.zip
...
Diffstat (limited to 'Timeline.Tests/DatabaseTest.cs')
-rw-r--r--Timeline.Tests/DatabaseTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline.Tests/DatabaseTest.cs b/Timeline.Tests/DatabaseTest.cs
index a7b97c16..a15823a9 100644
--- a/Timeline.Tests/DatabaseTest.cs
+++ b/Timeline.Tests/DatabaseTest.cs
@@ -28,7 +28,7 @@ namespace Timeline.Tests
{
var user = _context.Users.First();
_context.UserAvatars.Count().Should().Be(0);
- _context.UserAvatars.Add(new UserAvatar
+ _context.UserAvatars.Add(new UserAvatarEntity
{
Data = null,
Type = null,
@@ -48,7 +48,7 @@ namespace Timeline.Tests
{
var user = _context.Users.First();
_context.UserDetails.Count().Should().Be(0);
- _context.UserDetails.Add(new UserDetail
+ _context.UserDetails.Add(new UserDetailEntity
{
Nickname = null,
UserId = user.Id