diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2023-04-30 03:16:57 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2023-04-30 03:16:57 +0200 |
commit | aeedbc5b8679ca8ff8571c029996aba1a01e53a3 (patch) | |
tree | 023a490070ee266ff2984d4b5d254ec2c0df3c49 /sw-engine/src/test/kotlin/org | |
parent | Fix hand rotation indicator's placement (out of view) (diff) | |
download | seven-wonders-aeedbc5b8679ca8ff8571c029996aba1a01e53a3.tar.gz seven-wonders-aeedbc5b8679ca8ff8571c029996aba1a01e53a3.tar.bz2 seven-wonders-aeedbc5b8679ca8ff8571c029996aba1a01e53a3.zip |
Fix missing West Trading Post as parent for Forum
Resolves:
https://github.com/joffrey-bion/seven-wonders/issues/163
Diffstat (limited to 'sw-engine/src/test/kotlin/org')
-rw-r--r-- | sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/GameTest.kt | 2 | ||||
-rw-r--r-- | sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/test/TestUtils.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/GameTest.kt b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/GameTest.kt index 5368fbc0..62cc2907 100644 --- a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/GameTest.kt +++ b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/GameTest.kt @@ -129,5 +129,5 @@ class GameTest { data class MoveExpectation(val playerIndex: Int, val moveToSend: PlayerMove, val expectedPlayedMove: PlayedMove) private fun HandCard.toPlayedCard(): TableCard = - TableCard(name, color, requirements, chainParent, chainChildren, image, back, true) + TableCard(name, color, requirements, chainParents, chainChildren, image, back, true) } diff --git a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/test/TestUtils.kt b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/test/TestUtils.kt index 7a13eccd..4cad3f66 100644 --- a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/test/TestUtils.kt +++ b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/test/TestUtils.kt @@ -98,7 +98,7 @@ internal fun testCard( effect: Effect? = null, ): Card { val effects = if (effect == null) emptyList() else listOf(effect) - return Card(name, color, requirements, effects, null, emptyList(), "path/to/card/image", CardBack("image-III")) + return Card(name, color, requirements, effects, emptyList(), emptyList(), "path/to/card/image", CardBack("image-III")) } internal fun addCards(board: Board, nbCardsOfColor: Int, nbOtherCards: Int, color: Color) { |