Skip to content

Commit

Permalink
fix test server response
Browse files Browse the repository at this point in the history
format server
  • Loading branch information
caalador committed Jan 8, 2025
1 parent 3c19eb1 commit e4a6e3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion flow-client/src/test/frontend/FlowTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ function stubServerRemoteFunction(
handlers.leaveNavigation();
}
}
req.respond(200, { 'content-type': 'application/json' }, 'for(;;);[{}]');
req.respond(200, {'content-type': 'application/json'}, 'for(;;);[{"syncId":' + (payload["syncId"] + 1) + ',"clientId":' + (payload["clientId"] + 1) + '}]');
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ public RpcRequest(String jsonString, boolean isSyncIdCheckEnabled) {
clientToServerMessageId = (int) json
.getNumber(ApplicationConstants.CLIENT_TO_SERVER_ID);
} else {
if(!isUnloadBeaconRequest()) {
getLogger().warn(
"Server message without client id received");
if (!isUnloadBeaconRequest()) {
getLogger()
.warn("Server message without client id received");
}
clientToServerMessageId = -1;
}
Expand Down

0 comments on commit e4a6e3e

Please sign in to comment.