Browse Source

refactoring: fix test in PlayerServiceTest

main
fdai7793 11 months ago
parent
commit
291652d403
  1. 1
      src/test/java/de/hsfulda/onses/PlayerServiceTest.java

1
src/test/java/de/hsfulda/onses/PlayerServiceTest.java

@ -123,6 +123,7 @@ public class PlayerServiceTest {
Card card2 = new Card().setColor(Card.Color.RED).setValue(Card.Value.ONE);
gameService.getGame().setLastPlayedCard(new Card().setColor(Card.Color.RED).setValue(Card.Value.FIVE));
gameService.setTest(true);
gameService.getGame().getPlayerService().setCurrentTurn(false);
gameService.getGame().getPlayerService().getPlayerList().getLast().addCardToPlayerDeck(card1);

Loading…
Cancel
Save