summaryrefslogtreecommitdiff
path: root/backend/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/test')
-rw-r--r--backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java b/backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java
index c14147da..bc66b338 100644
--- a/backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java
+++ b/backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java
@@ -73,7 +73,8 @@ public class TestUtils {
public static StompSession connect(WebSocketStompClient stompClient, String url) throws InterruptedException,
ExecutionException, TimeoutException {
- StompSession session = stompClient.connect(url, new TestStompSessionHandler()).get(5, TimeUnit.SECONDS); session.setAutoReceipt(true);
+ StompSession session = stompClient.connect(url, new TestStompSessionHandler()).get(5, TimeUnit.SECONDS);
+ session.setAutoReceipt(true);
return session;
}
@@ -95,8 +96,8 @@ public class TestUtils {
}
@Override
- public void handleException(StompSession session, StompCommand command, StompHeaders headers,
- byte[] payload, Throwable exception) {
+ public void handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload,
+ Throwable exception) {
logger.error("Exception thrown", exception);
}
bgstack15