aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/IntegratedTests/TimelineTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-07-10 16:10:17 +0800
committercrupest <crupest@outlook.com>2020-07-10 16:10:17 +0800
commitf93ac5c1b21f9bee827c51955bd831ce0d322aaf (patch)
tree05299533101e2120af1bf85e56fa9f7166563924 /Timeline.Tests/IntegratedTests/TimelineTest.cs
parentb347fcf45abdae58352cf07e24ec907e1f77a31a (diff)
downloadtimeline-f93ac5c1b21f9bee827c51955bd831ce0d322aaf.tar.gz
timeline-f93ac5c1b21f9bee827c51955bd831ce0d322aaf.tar.bz2
timeline-f93ac5c1b21f9bee827c51955bd831ce0d322aaf.zip
Add unit tests.
Diffstat (limited to 'Timeline.Tests/IntegratedTests/TimelineTest.cs')
-rw-r--r--Timeline.Tests/IntegratedTests/TimelineTest.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Timeline.Tests/IntegratedTests/TimelineTest.cs b/Timeline.Tests/IntegratedTests/TimelineTest.cs
index 4f21d8d1..64619864 100644
--- a/Timeline.Tests/IntegratedTests/TimelineTest.cs
+++ b/Timeline.Tests/IntegratedTests/TimelineTest.cs
@@ -942,6 +942,7 @@ namespace Timeline.Tests.IntegratedTests
body.Should().NotBeNull();
body.Content.Should().BeEquivalentTo(TimelineHelper.TextPostContent(mockContent));
body.Author.Should().BeEquivalentTo(UserInfos[1]);
+ body.Deleted.Should().BeFalse();
createRes = body;
}
{
@@ -963,6 +964,7 @@ namespace Timeline.Tests.IntegratedTests
body.Content.Should().BeEquivalentTo(TimelineHelper.TextPostContent(mockContent2));
body.Author.Should().BeEquivalentTo(UserInfos[1]);
body.Time.Should().BeCloseTo(mockTime2, 1000);
+ body.Deleted.Should().BeFalse();
createRes2 = body;
}
{