diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-21 16:24:58 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-21 16:24:58 +0200 |
commit | 5fb9da2628df46d113088a268f5ec7d335663986 (patch) | |
tree | c73193b05873910cb1b7eb9875c3101e7c2d1c21 /backend/src | |
parent | Add first integration test (diff) | |
download | seven-wonders-5fb9da2628df46d113088a268f5ec7d335663986.tar.gz seven-wonders-5fb9da2628df46d113088a268f5ec7d335663986.tar.bz2 seven-wonders-5fb9da2628df46d113088a268f5ec7d335663986.zip |
Fix code style
Diffstat (limited to 'backend/src')
-rw-r--r-- | backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java | 7 |
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); } |