diff options
author | crupest <crupest@outlook.com> | 2020-06-18 23:36:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-18 23:36:56 +0800 |
commit | 35f4e03157fdb6643dc42db0cd764804e00944aa (patch) | |
tree | 5f65150b65ac37d2cd3f9d04d9cde22b3c02691d /Timeline.Tests/Services/TimelineServiceTest.cs | |
parent | 0977bc9f80bcfcbb8d74e26988e5b2ea949a291e (diff) | |
download | timeline-35f4e03157fdb6643dc42db0cd764804e00944aa.tar.gz timeline-35f4e03157fdb6643dc42db0cd764804e00944aa.tar.bz2 timeline-35f4e03157fdb6643dc42db0cd764804e00944aa.zip |
Add integrated tests. And fix a behavior.
Diffstat (limited to 'Timeline.Tests/Services/TimelineServiceTest.cs')
-rw-r--r-- | Timeline.Tests/Services/TimelineServiceTest.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline.Tests/Services/TimelineServiceTest.cs b/Timeline.Tests/Services/TimelineServiceTest.cs index cde827db..7e7242a2 100644 --- a/Timeline.Tests/Services/TimelineServiceTest.cs +++ b/Timeline.Tests/Services/TimelineServiceTest.cs @@ -115,8 +115,8 @@ namespace Timeline.Tests.Services }
var posts = await _timelineService.GetPosts(timelineName, testPoint);
- posts.Should().HaveCount(2)
- .And.Subject.Select(p => (p.Content as TextTimelinePostContent).Text).Should().Equal(postContentList.Skip(2));
+ posts.Should().HaveCount(3)
+ .And.Subject.Select(p => (p.Content as TextTimelinePostContent).Text).Should().Equal(postContentList.Skip(1));
}
}
}
|