diff options
author | crupest <crupest@outlook.com> | 2020-03-11 17:25:39 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-11 17:25:39 +0800 |
commit | a908d22253b7d6cb5f07eecf5b35c64e4bab0390 (patch) | |
tree | f67996f329a5e5d5683470db84db65828d96869e /Timeline.Tests/IntegratedTests | |
parent | 706eb877178d9c7f41b93927dedfc6c7ff27b7fd (diff) | |
download | timeline-a908d22253b7d6cb5f07eecf5b35c64e4bab0390.tar.gz timeline-a908d22253b7d6cb5f07eecf5b35c64e4bab0390.tar.bz2 timeline-a908d22253b7d6cb5f07eecf5b35c64e4bab0390.zip |
New logic for HasPostModifyPermission
Diffstat (limited to 'Timeline.Tests/IntegratedTests')
-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 5a721205..720140f1 100644 --- a/Timeline.Tests/IntegratedTests/TimelineTest.cs +++ b/Timeline.Tests/IntegratedTests/TimelineTest.cs @@ -869,6 +869,10 @@ namespace Timeline.Tests.IntegratedTests res.Should().BeDelete(true);
}
{
+ var res = await client.DeleteAsync($"timelines/t1/posts/{createRes.Id}");
+ res.Should().BeDelete(false);
+ }
+ {
var res = await client.DeleteAsync("timelines/t1/posts/30000");
res.Should().BeDelete(false);
}
|