Skip to content

Commit

Permalink
Re-generate failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Theophile Sandoz authored and Theophile Sandoz committed Jul 30, 2024
1 parent a4c0d56 commit e5596ce
Show file tree
Hide file tree
Showing 16 changed files with 1,331 additions and 1,522 deletions.
170 changes: 86 additions & 84 deletions libs/trustchain/mocks/scenarios/create2trustchainInARow.json

Large diffs are not rendered by default.

150 changes: 75 additions & 75 deletions libs/trustchain/mocks/scenarios/getOrCreateTransactionCases.json

Large diffs are not rendered by default.

195 changes: 98 additions & 97 deletions libs/trustchain/mocks/scenarios/member3implicitlyAdded.json

Large diffs are not rendered by default.

431 changes: 216 additions & 215 deletions libs/trustchain/mocks/scenarios/membersManySelfAdd.json

Large diffs are not rendered by default.

99 changes: 50 additions & 49 deletions libs/trustchain/mocks/scenarios/randomMemberTryToDestroy.json

Large diffs are not rendered by default.

142 changes: 71 additions & 71 deletions libs/trustchain/mocks/scenarios/removeMemberWithTheWrongSeed.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

377 changes: 85 additions & 292 deletions libs/trustchain/mocks/scenarios/removedMemberEjectedOnGetMembers.json

Large diffs are not rendered by default.

168 changes: 85 additions & 83 deletions libs/trustchain/mocks/scenarios/removedMemberEjectedOnRestore.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

97 changes: 49 additions & 48 deletions libs/trustchain/mocks/scenarios/removingYourselfIsForbidden.json

Large diffs are not rendered by default.

274 changes: 138 additions & 136 deletions libs/trustchain/mocks/scenarios/success.json

Large diffs are not rendered by default.

101 changes: 51 additions & 50 deletions libs/trustchain/mocks/scenarios/tokenExpires.json

Large diffs are not rendered by default.

215 changes: 108 additions & 107 deletions libs/trustchain/mocks/scenarios/twoAddMembersFollowedByDeviceAdd.json

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions libs/trustchain/mocks/scenarios/userRefusesAuth.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"apdus": "=> e0050000c3010107020100121043616e9d39f82e2e1400b1d475ed9b6d14010115473045022100d63f8d53cd1ba3bbbb7a4ac3cc65a9a9c2a6669eb9add6ffa2494d343836c90202200ce70bf85e59675ed468066c46fe4fbe2ba6433e70545c3adbf47bb7907c9fda160466a76600202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\n<= 6985\n",
"apdus": "=> e0050000c30101070201001210ab1d0f0dd47eb377ae17ccdd029eed4e1401011547304502203d8a77e0b76db855891bb9875f472553fe4e0cc22c62d902f6eba9ca3b9ce2fb022100f9dce1c4d3e09ee0139faf81e978436b893893017afd5b25e64742e525ee8944160466a9040a202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\n<= 6985\n",
"crypto": {
"randomBytesOutputs": [],
"randomKeypairOutputs": [
"75828fb1d1471035f6c41cb95ce796ba76a27b0fc02bfb948067a08e40860d88",
"2ed7ffcf911a2b3fd73e42c4c129d7f6125ae615571a9a2f5f71475cde361695",
"4b6a11e9ffc68bbc1d4964572a82a4d6ba0a3cee26a8fc8da87276c00ca31153"
"9f5ba43d51aa96c930b893611b770128359add41aade7ff8118cc1ac7418af9b",
"e390dfb406b8ef744b8f7a0c7b09e766b9197aa8ad9baf7b16af91a1ac3172a7"
]
},
"http": {
Expand All @@ -25,14 +24,14 @@
"headers": {
"cache-control": "no-store, no-cache, max-age=0",
"connection": "keep-alive",
"content-length": "913",
"content-length": "917",
"content-type": "application/json",
"date": "Mon, 29 Jul 2024 09:20:55 GMT",
"date": "Tue, 30 Jul 2024 14:47:29 GMT",
"expires": "Thu, 01 Jan 1970 00:00:00 GMT",
"pragma": "no-cache",
"strict-transport-security": "max-age=31536000; includeSubDomains"
},
"body": "{\"json\":{\"version\":0,\"challenge\":{\"data\":\"43616e9d39f82e2e1400b1d475ed9b6d\",\"expiry\":\"2024-07-29T09:50:56Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"3045022100d63f8d53cd1ba3bbbb7a4ac3cc65a9a9c2a6669eb9add6ffa2494d343836c90202200ce70bf85e59675ed468066c46fe4fbe2ba6433e70545c3adbf47bb7907c9fda\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"010107020100121043616e9d39f82e2e1400b1d475ed9b6d14010115473045022100d63f8d53cd1ba3bbbb7a4ac3cc65a9a9c2a6669eb9add6ffa2494d343836c90202200ce70bf85e59675ed468066c46fe4fbe2ba6433e70545c3adbf47bb7907c9fda160466a76600202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}"
"body": "{\"json\":{\"version\":0,\"challenge\":{\"data\":\"ab1d0f0dd47eb377ae17ccdd029eed4e\",\"expiry\":\"2024-07-30T15:17:30Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"304502203d8a77e0b76db855891bb9875f472553fe4e0cc22c62d902f6eba9ca3b9ce2fb022100f9dce1c4d3e09ee0139faf81e978436b893893017afd5b25e64742e525ee8944\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"0101070201001210ab1d0f0dd47eb377ae17ccdd029eed4e1401011547304502203d8a77e0b76db855891bb9875f472553fe4e0cc22c62d902f6eba9ca3b9ce2fb022100f9dce1c4d3e09ee0139faf81e978436b893893017afd5b25e64742e525ee8944160466a9040a202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}"
}
}
]
Expand Down
138 changes: 70 additions & 68 deletions libs/trustchain/mocks/scenarios/userRefusesRemoveMember.json

Large diffs are not rendered by default.

0 comments on commit e5596ce

Please sign in to comment.