diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2020-12-13 01:39:06 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2020-12-13 01:40:51 +0100 |
commit | 2d5117911c11fafc3c287e2ee74149f866c41954 (patch) | |
tree | 5b4dce07c2097a3f0e6b140ce5005d154d2c9c57 /sw-server/src/test | |
parent | Add logging of BOT status (diff) | |
download | seven-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')
-rw-r--r-- | sw-server/src/test/kotlin/org/luxons/sevenwonders/server/controllers/HomeControllerTest.kt | 2 |
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) |