summaryrefslogtreecommitdiffstats
path: root/test/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'test/jrummikub')
-rw-r--r--test/jrummikub/control/SettingsControlTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/jrummikub/control/SettingsControlTest.java b/test/jrummikub/control/SettingsControlTest.java
index 65c4c29..8fab97a 100644
--- a/test/jrummikub/control/SettingsControlTest.java
+++ b/test/jrummikub/control/SettingsControlTest.java
@@ -131,7 +131,7 @@ public class SettingsControlTest {
view.settingsPanel.changePlayerNameEvent.emit(1, name1);
assertFalse(view.settingsPanel.startButtonEnabled);
- assertSame(ISettingsPanel.SettingsError.DUPLICATE_PLAYER_NAME,
+ assertSame(ISettingsPanel.SettingsError.DUPLICATE_PLAYER_NAME_ERROR,
view.settingsPanel.error);
view.settingsPanel.startGameEvent.emit();
@@ -146,7 +146,7 @@ public class SettingsControlTest {
view.settingsPanel.changePlayerNameEvent.emit(1, name1);
assertFalse(view.settingsPanel.startButtonEnabled);
- assertSame(ISettingsPanel.SettingsError.DUPLICATE_PLAYER_NAME,
+ assertSame(ISettingsPanel.SettingsError.DUPLICATE_PLAYER_NAME_ERROR,
view.settingsPanel.error);
view.settingsPanel.startGameEvent.emit();
@@ -169,7 +169,7 @@ public class SettingsControlTest {
view.settingsPanel.changePlayerNameEvent.emit(0, name1);
assertFalse(view.settingsPanel.startButtonEnabled);
- assertSame(ISettingsPanel.SettingsError.NO_PLAYER_NAME,
+ assertSame(ISettingsPanel.SettingsError.NO_PLAYER_NAME_ERROR,
view.settingsPanel.error);
view.settingsPanel.startGameEvent.emit();