summaryrefslogtreecommitdiff
path: root/sw-server/src/test/kotlin/org
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2020-12-13 01:39:06 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2020-12-13 01:40:51 +0100
commit2d5117911c11fafc3c287e2ee74149f866c41954 (patch)
tree5b4dce07c2097a3f0e6b140ce5005d154d2c9c57 /sw-server/src/test/kotlin/org
parentAdd logging of BOT status (diff)
downloadseven-wonders-2d5117911c11fafc3c287e2ee74149f866c41954.tar.gz
seven-wonders-2d5117911c11fafc3c287e2ee74149f866c41954.tar.bz2
seven-wonders-2d5117911c11fafc3c287e2ee74149f866c41954.zip
Only transfer ownership to humans
Resolve: https://github.com/joffrey-bion/seven-wonders/issues/73
Diffstat (limited to 'sw-server/src/test/kotlin/org')
-rw-r--r--sw-server/src/test/kotlin/org/luxons/sevenwonders/server/controllers/HomeControllerTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/controllers/HomeControllerTest.kt b/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/controllers/HomeControllerTest.kt
index d7206490..f820621a 100644
--- a/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/controllers/HomeControllerTest.kt
+++ b/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/controllers/HomeControllerTest.kt
@@ -13,7 +13,7 @@ class HomeControllerTest {
val playerRepository = PlayerRepository()
val homeController = HomeController(playerRepository)
- val action = ChooseNameAction("Test User", Icon("person"))
+ val action = ChooseNameAction("Test User", Icon("person"), isHuman = true)
val principal = TestPrincipal("testuser")
val player = homeController.chooseName(action, principal)
bgstack15