summaryrefslogtreecommitdiff
path: root/sw-server/src/test/kotlin
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-03-27 15:46:29 +0100
committerJoffrey Bion <joffrey.bion@booking.com>2020-03-27 15:46:29 +0100
commit2bbb2d65d29c6a45344a125fd2fcbf067370ba27 (patch)
tree1ad2685ef9f8caf41778f611ab06b617b206f46f /sw-server/src/test/kotlin
parentFix server URL in tests (diff)
downloadseven-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')
-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 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)
}
}
bgstack15