summaryrefslogtreecommitdiff
path: root/backend/src/test/kotlin/org/luxons
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/test/kotlin/org/luxons')
-rw-r--r--backend/src/test/kotlin/org/luxons/sevenwonders/controllers/LobbyControllerTest.kt2
-rw-r--r--backend/src/test/kotlin/org/luxons/sevenwonders/lobby/LobbyTest.kt3
2 files changed, 2 insertions, 3 deletions
diff --git a/backend/src/test/kotlin/org/luxons/sevenwonders/controllers/LobbyControllerTest.kt b/backend/src/test/kotlin/org/luxons/sevenwonders/controllers/LobbyControllerTest.kt
index 4780c533..5ace12af 100644
--- a/backend/src/test/kotlin/org/luxons/sevenwonders/controllers/LobbyControllerTest.kt
+++ b/backend/src/test/kotlin/org/luxons/sevenwonders/controllers/LobbyControllerTest.kt
@@ -9,7 +9,7 @@ import org.junit.Test
import org.luxons.sevenwonders.actions.ReorderPlayersAction
import org.luxons.sevenwonders.actions.UpdateSettingsAction
import org.luxons.sevenwonders.game.api.CustomizableSettings
-import org.luxons.sevenwonders.game.data.WonderSidePickMethod.ALL_A
+import org.luxons.sevenwonders.game.api.WonderSidePickMethod.ALL_A
import org.luxons.sevenwonders.lobby.Lobby
import org.luxons.sevenwonders.lobby.Player
import org.luxons.sevenwonders.lobby.PlayerIsNotOwnerException
diff --git a/backend/src/test/kotlin/org/luxons/sevenwonders/lobby/LobbyTest.kt b/backend/src/test/kotlin/org/luxons/sevenwonders/lobby/LobbyTest.kt
index f989edbc..1d8b0f4d 100644
--- a/backend/src/test/kotlin/org/luxons/sevenwonders/lobby/LobbyTest.kt
+++ b/backend/src/test/kotlin/org/luxons/sevenwonders/lobby/LobbyTest.kt
@@ -17,7 +17,6 @@ import org.junit.rules.ExpectedException
import org.junit.runner.RunWith
import org.luxons.sevenwonders.game.api.CustomizableSettings
import org.luxons.sevenwonders.game.data.GameDefinition
-import org.luxons.sevenwonders.game.data.GameDefinitionLoader
import org.luxons.sevenwonders.lobby.Lobby.GameAlreadyStartedException
import org.luxons.sevenwonders.lobby.Lobby.PlayerNameAlreadyUsedException
import org.luxons.sevenwonders.lobby.Lobby.PlayerOverflowException
@@ -231,7 +230,7 @@ class LobbyTest {
@JvmStatic
@BeforeClass
fun loadDefinition() {
- gameDefinition = GameDefinitionLoader.gameDefinition
+ gameDefinition = GameDefinition.load()
}
}
}
bgstack15