Remove legacy reveal phase paths and rename reveal data loader
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user