Test: an ended merge shows no notice even with its grace date ahead
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ed3645e048
commit
a1ee88cdbb
1 changed files with 16 additions and 0 deletions
|
|
@ -126,6 +126,22 @@ public sealed class MergeStatusTests
|
|||
}
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(AccountMergeState.Undone)]
|
||||
[InlineData(AccountMergeState.Failed)]
|
||||
[InlineData(AccountMergeState.Final)]
|
||||
public async Task A_merge_that_ended_has_no_notice_even_with_its_grace_date_still_ahead(AccountMergeState state)
|
||||
{
|
||||
var w = await Committed();
|
||||
using var rig = w.Rig;
|
||||
await Edit(w, x => x.State = state);
|
||||
|
||||
var page = await Html(w, w.SurvivorSession);
|
||||
|
||||
Assert.Equal(0, Notices(page));
|
||||
Assert.Contains(Enc(MergeWording.State(state)), page);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task A_failed_merge_says_why_in_closed_words_and_never_echoes_the_stored_text()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue