Skip to content

Commit

Permalink
Update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro committed Aug 14, 2017
1 parent 40f0e71 commit eeec680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/heroiclabs/nakama/RpcMessageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public Deferred<Session> call(Session session) throws Exception {
}).addCallbackDeferring(new Callback<Deferred<RpcResult>, Session>() {
@Override
public Deferred<RpcResult> call(Session session) throws Exception {
final CollatedMessage<RpcResult> rpc = RpcMessage.Builder.newBuilder("client_rpc_fail").build();
final CollatedMessage<RpcResult> rpc = RpcMessage.Builder.newBuilder("client_rpc_test_fail").build();
return client.send(rpc);
}
}).addErrback(new Callback<Error, Error>() {
Expand Down Expand Up @@ -108,7 +108,7 @@ public Deferred<Session> call(Session session) throws Exception {
}).addCallbackDeferring(new Callback<Deferred<RpcResult>, Session>() {
@Override
public Deferred<RpcResult> call(Session session) throws Exception {
final CollatedMessage<RpcResult> rpc = RpcMessage.Builder.newBuilder("client_rpc_echo")
final CollatedMessage<RpcResult> rpc = RpcMessage.Builder.newBuilder("client_rpc_test_echo")
.payload(payload)
.build();
return client.send(rpc);
Expand Down

0 comments on commit eeec680

Please sign in to comment.