Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1974 from KitHat/hotfix/ci_cd_minor
Browse files Browse the repository at this point in the history
Hotfix: fixing resubmissions in Java.
  • Loading branch information
jovfer authored Dec 3, 2019
2 parents 290ac61 + 0d35b36 commit 77edb4e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ public void testNymRequestsWorks() throws Exception {

String getNymRequest = Ledger.buildGetNymRequest(myDid, myDid).get();
String getNymResponse = PoolUtils.ensurePreviousRequestApplied(pool, getNymRequest,
response -> compareResponseType(response, "REPLY"));
innerResponse -> {
JSONObject innerResponseObject = new JSONObject(innerResponse);
return !innerResponseObject.getJSONObject("result").isNull("seqNo");
});
assertNotNull(getNymResponse);

String nymDataJson = Ledger.parseGetNymResponse(getNymResponse).get();
Expand Down

0 comments on commit 77edb4e

Please sign in to comment.