Skip to content

Commit

Permalink
test: repair test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
fedellen committed Feb 7, 2025
1 parent 6ec4d5c commit 6b28e48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/creditSharing.node.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe('Credit Sharing', () => {
approvedAddress: 'invalidAddress',
}),
errorMessage:
'Failed request (Status 400): Unable to create delegated payment approval : Invalid approved address',
'Failed to upload file after 6 attempts\nFailed request (Status 400): Unable to create delegated payment approval : Invalid approved address',
errorType: 'FailedRequestError',
});
});
Expand All @@ -148,7 +148,7 @@ describe('Credit Sharing', () => {
approvedWincAmount: '10000',
approvedAddress: unfundedSignerAddress1,
}),
errorMessage: `Failed request (Status 400): Unable to create delegated payment approval : Insufficient balance for '${arweavePayerAddress}'`,
errorMessage: `Failed to upload file after 6 attempts\nFailed request (Status 400): Unable to create delegated payment approval : Insufficient balance for '${arweavePayerAddress}'`,
errorType: 'FailedRequestError',
});
});
Expand Down Expand Up @@ -238,7 +238,7 @@ describe('Credit Sharing', () => {
revokedAddress: 'stub-43-char-address-stub-43-char-address-0',
}),
errorMessage:
'Failed request (Status 400): Unable to revoke delegated payment approval !',
'Failed to upload file after 6 attempts\nFailed request (Status 400): Unable to revoke delegated payment approval !',
errorType: 'FailedRequestError',
});
});
Expand Down

0 comments on commit 6b28e48

Please sign in to comment.