diff options
author | crupest <crupest@outlook.com> | 2021-02-13 15:57:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-13 15:57:29 +0800 |
commit | fd5f842e807ecf0d3a4c385fd0e5e3a52b0a79b2 (patch) | |
tree | 60cc46ed16a3d84b654cce4b3f364f5eccce52b0 /BackEnd/Timeline.Tests/IntegratedTests | |
parent | 4538aa0be40316a967d6fbcbc08bc9670b9bbcf0 (diff) | |
download | timeline-fd5f842e807ecf0d3a4c385fd0e5e3a52b0a79b2.tar.gz timeline-fd5f842e807ecf0d3a4c385fd0e5e3a52b0a79b2.tar.bz2 timeline-fd5f842e807ecf0d3a4c385fd0e5e3a52b0a79b2.zip |
feat: Timeline add postable.
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests')
-rw-r--r-- | BackEnd/Timeline.Tests/IntegratedTests/TimelineTest.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests/TimelineTest.cs b/BackEnd/Timeline.Tests/IntegratedTests/TimelineTest.cs index be00b595..e2ce8875 100644 --- a/BackEnd/Timeline.Tests/IntegratedTests/TimelineTest.cs +++ b/BackEnd/Timeline.Tests/IntegratedTests/TimelineTest.cs @@ -416,18 +416,20 @@ namespace Timeline.Tests.IntegratedTests [Theory]
[MemberData(nameof(TimelineNameGeneratorTestData))]
- public async Task Get_Manageable(TimelineNameGenerator generator)
+ public async Task Get_Manageable_Postable(TimelineNameGenerator generator)
{
{
using var client = await CreateClientAsUser();
var timeline = await client.TestGetAsync<HttpTimeline>($"timelines/{generator(1)}");
timeline.Manageable.Should().Be(true);
+ timeline.Postable.Should().Be(true);
}
{
using var client = await CreateClientAs(2);
var timeline = await client.TestGetAsync<HttpTimeline>($"timelines/{generator(1)}");
timeline.Manageable.Should().Be(false);
+ timeline.Postable.Should().Be(false);
}
}
}
|