diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-27 15:46:29 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-27 15:46:29 +0100 |
commit | 2bbb2d65d29c6a45344a125fd2fcbf067370ba27 (patch) | |
tree | 1ad2685ef9f8caf41778f611ab06b617b206f46f /sw-server/src/test/kotlin/org | |
parent | Fix server URL in tests (diff) | |
download | seven-wonders-2bbb2d65d29c6a45344a125fd2fcbf067370ba27.tar.gz seven-wonders-2bbb2d65d29c6a45344a125fd2fcbf067370ba27.tar.bz2 seven-wonders-2bbb2d65d29c6a45344a125fd2fcbf067370ba27.zip |
Rename isUser to isMe for clarity
Diffstat (limited to 'sw-server/src/test/kotlin/org')
-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 c2c3c05d..7d129997 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 @@ -20,6 +20,6 @@ class HomeControllerTest { assertEquals("testuser", player.username) assertEquals("Test User", player.displayName) assertEquals(false, player.isGameOwner) - assertEquals(true, player.isUser) + assertEquals(true, player.isMe) } } |