aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/IntegratedTests
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
commit29b3da2aa1f1b4a8514ffea6dc57dda8d8a98170 (patch)
tree7825438445e25ccb5fa574b91332d081029b7ce3 /Timeline.Tests/IntegratedTests
parentbac1c733f276ad0f449b4c60e5662d0413cd2121 (diff)
downloadtimeline-29b3da2aa1f1b4a8514ffea6dc57dda8d8a98170.tar.gz
timeline-29b3da2aa1f1b4a8514ffea6dc57dda8d8a98170.tar.bz2
timeline-29b3da2aa1f1b4a8514ffea6dc57dda8d8a98170.zip
Add unit tests.
Diffstat (limited to 'Timeline.Tests/IntegratedTests')
-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;
}
{