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 4b1c441 commit 5de26cb
Show file tree
Hide file tree
Showing 16 changed files with 1,316 additions and 1,262 deletions.
165 changes: 85 additions & 80 deletions libs/trustchain/mocks/scenarios/create2trustchainInARow.json

Large diffs are not rendered by default.

145 changes: 74 additions & 71 deletions libs/trustchain/mocks/scenarios/getOrCreateTransactionCases.json

Large diffs are not rendered by default.

189 changes: 96 additions & 93 deletions libs/trustchain/mocks/scenarios/member3implicitlyAdded.json

Large diffs are not rendered by default.

420 changes: 215 additions & 205 deletions libs/trustchain/mocks/scenarios/membersManySelfAdd.json

Large diffs are not rendered by default.

102 changes: 52 additions & 50 deletions libs/trustchain/mocks/scenarios/randomMemberTryToDestroy.json

Large diffs are not rendered by default.

146 changes: 74 additions & 72 deletions libs/trustchain/mocks/scenarios/removeMemberWithTheWrongSeed.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

162 changes: 83 additions & 79 deletions libs/trustchain/mocks/scenarios/removedMemberEjectedOnGetMembers.json

Large diffs are not rendered by default.

160 changes: 82 additions & 78 deletions libs/trustchain/mocks/scenarios/removedMemberEjectedOnRestore.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

94 changes: 48 additions & 46 deletions libs/trustchain/mocks/scenarios/removingYourselfIsForbidden.json

Large diffs are not rendered by default.

278 changes: 141 additions & 137 deletions libs/trustchain/mocks/scenarios/success.json

Large diffs are not rendered by default.

94 changes: 48 additions & 46 deletions libs/trustchain/mocks/scenarios/tokenExpires.json

Large diffs are not rendered by default.

209 changes: 106 additions & 103 deletions libs/trustchain/mocks/scenarios/twoAddMembersFollowedByDeviceAdd.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions libs/trustchain/mocks/scenarios/userRefusesAuth.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"apdus": "=> e0050000c30101070201001210894b3e832dc5b737038102092e6898ca1401011547304502202df650fd3cd053727a47b2b5f508d06724bc6e710bf53bff0fbcfc24d6f0d3ae02210082986b18627daa563d4e883babf855ca39d3720a359ec81614554c00fd8bbdc7160466a911ff202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\n<= 6985\n",
"apdus": "=> e0050000c30101070201001210ab1d0f0dd47eb377ae17ccdd029eed4e1401011547304502203d8a77e0b76db855891bb9875f472553fe4e0cc22c62d902f6eba9ca3b9ce2fb022100f9dce1c4d3e09ee0139faf81e978436b893893017afd5b25e64742e525ee8944160466a9040a202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\n<= 6985\n",
"crypto": {
"randomBytesOutputs": [],
"randomKeypairOutputs": [
"e93cdbdcf80987a7ffad6dbdb78cf17474de1db597c718c90c8774284e50e7ba",
"2fbff08b58cbe2cd40937dd0c4ed76614adfcbf0e8c8f27fee501a8568564c0c"
"9f5ba43d51aa96c930b893611b770128359add41aade7ff8118cc1ac7418af9b",
"e390dfb406b8ef744b8f7a0c7b09e766b9197aa8ad9baf7b16af91a1ac3172a7"
]
},
"http": {
Expand All @@ -26,12 +26,12 @@
"connection": "keep-alive",
"content-length": "917",
"content-type": "application/json",
"date": "Tue, 30 Jul 2024 15:47:02 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\":\"894b3e832dc5b737038102092e6898ca\",\"expiry\":\"2024-07-30T16:17:03Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"304502202df650fd3cd053727a47b2b5f508d06724bc6e710bf53bff0fbcfc24d6f0d3ae02210082986b18627daa563d4e883babf855ca39d3720a359ec81614554c00fd8bbdc7\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"0101070201001210894b3e832dc5b737038102092e6898ca1401011547304502202df650fd3cd053727a47b2b5f508d06724bc6e710bf53bff0fbcfc24d6f0d3ae02210082986b18627daa563d4e883babf855ca39d3720a359ec81614554c00fd8bbdc7160466a911ff202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}"
"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
134 changes: 69 additions & 65 deletions libs/trustchain/mocks/scenarios/userRefusesRemoveMember.json

Large diffs are not rendered by default.

0 comments on commit 5de26cb

Please sign in to comment.