diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-08 00:18:53 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-08 00:18:53 +0200 |
commit | 8faf8222e2b2f2fa55898614aa537ea6973273b9 (patch) | |
tree | b87dd0c0469c733bdbde8ae8590573c53a6dc6d4 /sw-server/src | |
parent | Delete unnecessary bettercodehub config (diff) | |
download | seven-wonders-8faf8222e2b2f2fa55898614aa537ea6973273b9.tar.gz seven-wonders-8faf8222e2b2f2fa55898614aa537ea6973273b9.tar.bz2 seven-wonders-8faf8222e2b2f2fa55898614aa537ea6973273b9.zip |
Enable ktlint on sw-ui
Diffstat (limited to 'sw-server/src')
-rw-r--r-- | sw-server/src/main/kotlin/org/luxons/sevenwonders/server/api/Converters.kt | 1 | ||||
-rw-r--r-- | sw-server/src/test/kotlin/org/luxons/sevenwonders/server/controllers/HomeControllerTest.kt | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/api/Converters.kt b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/api/Converters.kt index 7c3ccfbb..1386c855 100644 --- a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/api/Converters.kt +++ b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/api/Converters.kt @@ -16,4 +16,3 @@ fun Lobby.toDTO(): LobbyDTO = LobbyDTO( ) fun Player.toDTO() = PlayerDTO(username, displayName, index, isGameOwner, isReady) - 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 7d129997..31b957e4 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 @@ -19,7 +19,5 @@ class HomeControllerTest { assertEquals("testuser", player.username) assertEquals("Test User", player.displayName) - assertEquals(false, player.isGameOwner) - assertEquals(true, player.isMe) } } |