aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest1.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest1.cs')
-rw-r--r--BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest1.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest1.cs b/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest1.cs
index 4ecb805c..d06da9d9 100644
--- a/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest1.cs
+++ b/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest1.cs
@@ -72,8 +72,9 @@ namespace Timeline.Tests.IntegratedTests2
public async Task ListTest()
{
using var client = CreateClientAsUser();
- var posts = await client.TestJsonSendAsync<List<HttpTimelinePost>>(HttpMethod.Get, "v2/timelines/user/hello/posts");
- posts.Should().HaveCount(3);
+ var posts = await client.TestJsonSendAsync<Page<HttpTimelinePost>>(HttpMethod.Get, "v2/timelines/user/hello/posts");
+ posts.TotalCount.Should().Be(3);
+ posts.Items.Should().HaveCount(3);
}
[Fact]