Skip to content

Commit 00cf6fa

Browse files
committed
fix: fix tests after removing special tutorial item logic
1 parent e5aba8b commit 00cf6fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/src/test/java/org/destinationsol/game/PlayerCreatorTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public void testNoMouseControlCreatesUiControlledPilot() {
142142

143143
@Test
144144
public void testUseRespawnMoneyIfNotZero() {
145+
solGame.isTutorial(); // This is here purely for the side effects, as this is the only test that doesn't call isTutorial.
145146
float respawnMoney = 42f;
146147
respawnState.setRespawnMoney(respawnMoney);
147148
playerCreator.createPlayer(shipConfig, false, respawnState, solGame, false, false);

0 commit comments

Comments
 (0)