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
commit4aadb05cd5718c7d16bf432c96e23ae4e7db4783 (patch)
treea45506852659b9d8e2bfe0b9e58a496060f7cd9b /Timeline.Tests/DatabaseTest.cs
parente6069a6980ec6d2505e19026d4c84a9588f153dc (diff)
downloadtimeline-4aadb05cd5718c7d16bf432c96e23ae4e7db4783.tar.gz
timeline-4aadb05cd5718c7d16bf432c96e23ae4e7db4783.tar.bz2
timeline-4aadb05cd5718c7d16bf432c96e23ae4e7db4783.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