diff options
author | crupest <crupest@outlook.com> | 2020-03-13 17:58:32 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-13 17:58:32 +0800 |
commit | 671590b071cccfb889e68c3f74581fcf15a02921 (patch) | |
tree | dd53c68673c84a0cbf157ef0378dbdc1b4610d53 /Timeline.Tests/IntegratedTests/TimelineTest.cs | |
parent | 8833b4eb1e65dda51abd24b453b86531b3f5f7a8 (diff) | |
download | timeline-671590b071cccfb889e68c3f74581fcf15a02921.tar.gz timeline-671590b071cccfb889e68c3f74581fcf15a02921.tar.bz2 timeline-671590b071cccfb889e68c3f74581fcf15a02921.zip |
Add cache for timeline post data.
Diffstat (limited to 'Timeline.Tests/IntegratedTests/TimelineTest.cs')
-rw-r--r-- | Timeline.Tests/IntegratedTests/TimelineTest.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Timeline.Tests/IntegratedTests/TimelineTest.cs b/Timeline.Tests/IntegratedTests/TimelineTest.cs index 682cfd7c..845208e8 100644 --- a/Timeline.Tests/IntegratedTests/TimelineTest.cs +++ b/Timeline.Tests/IntegratedTests/TimelineTest.cs @@ -1091,6 +1091,10 @@ namespace Timeline.Tests.IntegratedTests }
{
+ await CacheTestHelper.TestCache(client, generator(1, $"posts/{postId}/data"));
+ }
+
+ {
var res = await client.DeleteAsync(generator(1, $"posts/{postId}"));
res.Should().BeDelete(true);
}
|