From 0b50d025a642e506378f086f7c6c983e75c3b11c Mon Sep 17 00:00:00 2001 From: matteo-cristino Date: Thu, 18 Jan 2024 10:51:30 +0100 Subject: [PATCH] =?UTF-8?q?test(units):=20=F0=9F=9A=A8=20update=20test=20t?= =?UTF-8?q?o=20latest=20client=20contracts=20modification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/zencode_units/pubkeys.bats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/zencode_units/pubkeys.bats b/test/zencode_units/pubkeys.bats index 45e0278..f9a453d 100644 --- a/test/zencode_units/pubkeys.bats +++ b/test/zencode_units/pubkeys.bats @@ -76,7 +76,7 @@ EOF } @test "Participant identity with pubkeys" { - zexe client/v1/create-identity-pubkeys.zen client/v1/did-settings.json new-keyring.json + zexe client/v1/create-identity-pubkeys.zen new-keyring.json save_tmp_output new-id-pubkeys.json # add did_spec and signer_did_spec to be used in all the following contratcs jq_insert "did_spec" "sandbox.test" new-id-pubkeys.json @@ -85,6 +85,7 @@ EOF @test "Signed accept request" { jq_insert "timestamp" $(($(date +%s%N)/1000000)) new-id-pubkeys.json + json_join_two client/v1/did-settings.json controller-keyring.json zexe client/v1/pubkeys-request-signed.zen new-id-pubkeys.json controller-keyring.json save_tmp_output signed-request.json } @@ -119,7 +120,7 @@ EOF @test "Update request with request-unsigned and sign" { # unsigned request jq_insert "identity" "update_unit_test" new-id-pubkeys.json - zexe client/v1/pubkeys-request-unsigned.zen new-id-pubkeys.json + zexe client/v1/pubkeys-request-unsigned.zen new-id-pubkeys.json client/v1/did-settings.json save_tmp_output unsigned-request.json # sign the request jq_insert "timestamp" $(($(date +%s%N)/1000000)) unsigned-request.json