Skip to content

Commit

Permalink
more work
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer committed Oct 6, 2024
1 parent a0409a1 commit 1acdb55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/platform-test-suite/test/e2e/withdrawals.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ describe('Withdrawals', function withdrawalsTest() {
)).to.be.rejectedWith(`Withdrawal amount "${amountToWithdraw}" is bigger that identity balance "${identityBalanceBefore}"`);
});

it('should not allow to create withdrawal with wrong security key type', async () => {
it('should not allow to create withdrawal with authentication key purpose', async () => {
const account = await client.getWalletAccount();
const identityBalanceBefore = identity.getBalance();
const withdrawTo = await account.getUnusedAddress();
Expand All @@ -196,7 +196,7 @@ describe('Withdrawals', function withdrawalsTest() {
toAddress: withdrawTo.address,
signingKeyIndex: 1,
},
)).to.be.rejectedWith('Error conversion not implemented: Invalid public key security level HIGH. The state transition requires one of MASTER');
)).to.be.rejectedWith('Error conversion not implemented: Invalid identity key purpose AUTHENTICATION. This state transition requires TRANSFER | OWNER');
});

// TODO: Figure out how to overcome client-side validation and implement
Expand Down

0 comments on commit 1acdb55

Please sign in to comment.