Adding chat reject message if chat is tried to be sent in an invalid state. Otherwise testing won't work.
This commit is contained in:
@@ -95,5 +95,9 @@ public class LobbySubscriptionTest extends TestBase {
|
||||
// Now there should be one game list message.
|
||||
msg = receiveMessage();
|
||||
assertTrue(msg.isGameListMessageSelected());
|
||||
|
||||
for (int i = 0; i < 9; i++) {
|
||||
s[i].close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user