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

Commit 77edb4e

Browse files
authored
Merge pull request #1974 from KitHat/hotfix/ci_cd_minor
Hotfix: fixing resubmissions in Java.
2 parents 290ac61 + 0d35b36 commit 77edb4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

wrappers/java/src/test/java/org/hyperledger/indy/sdk/ledger/NymRequestsTest.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ public void testNymRequestsWorks() throws Exception {
9393

9494
String getNymRequest = Ledger.buildGetNymRequest(myDid, myDid).get();
9595
String getNymResponse = PoolUtils.ensurePreviousRequestApplied(pool, getNymRequest,
96-
response -> compareResponseType(response, "REPLY"));
96+
innerResponse -> {
97+
JSONObject innerResponseObject = new JSONObject(innerResponse);
98+
return !innerResponseObject.getJSONObject("result").isNull("seqNo");
99+
});
97100
assertNotNull(getNymResponse);
98101

99102
String nymDataJson = Ledger.parseGetNymResponse(getNymResponse).get();

0 commit comments

Comments
 (0)