fix CI
continuous-integration/drone/push Build is failing Details

master
Maxime BATISTA 8 months ago
parent 29fc5af697
commit ecd9028d04

@ -71,7 +71,7 @@ public class TacticsControllerTest
{
var (controller, context) = GetController(1);
var result = await controller.CreateNew(new("Test Tactic", "pLaIn"));
result.Should().BeEquivalentTo(new TacticController.CreateNewResponse(2, 2));
result.Should().BeEquivalentTo(new TacticController.CreateNewResponse(2, 4));
var tactic = await context.Tactics.FirstOrDefaultAsync(e => e.Id == 2);
tactic.Should().NotBeNull();
tactic!.Name.Should().BeEquivalentTo("Test Tactic");

Loading…
Cancel
Save