Remove legacy reveal phase paths and rename reveal data loader

This commit is contained in:
2026-02-07 01:49:38 +01:00
parent 5e84686678
commit 567502d665
7 changed files with 24 additions and 29 deletions

View File

@@ -50,7 +50,7 @@ public class StateTests
PasswordHash = [1],
PasswordSalt = [1],
DisplayName = "Legacy",
CurrentPhase = Phase.Reveal,
CurrentPhase = (Phase)1,
VotesFinal = true
};
playerId = player.Id;
@@ -80,7 +80,7 @@ public class StateTests
var phase = await Endpoints.EndpointHelpers.GetCurrentPhaseAsync(db, playerId);
var player = await db.Players.FindAsync(playerId);
Assert.Equal(Phase.Vote, phase);
Assert.Equal(Phase.Reveal, player!.CurrentPhase);
Assert.Equal((Phase)1, player!.CurrentPhase);
Assert.True(player.VotesFinal);
}
}