Skip to content

Commit

Permalink
Using CompletableFuture.get() instead of join().
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelle Stenild Coltau committed Mar 14, 2017
1 parent 75139bd commit 1c963f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void setup() throws Exception {
@Test
public void testCreateUser() throws Exception {
expectedException.expectCause(isA(XmlRpcException.class));
ejabberdXmlrpcClient.createUser("kristian", "test.local", "just").join();
ejabberdXmlrpcClient.createUser("kristian", "test.local", "just").get();
}

@Test
Expand Down

0 comments on commit 1c963f0

Please sign in to comment.