Skip to content

Commit 0d797da

Browse files
author
Victor Wiebe
committed
fix: expected error messages
1 parent 4b24ecf commit 0d797da

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/procedures/__tests__/DisableController.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ describe('DisableController', () => {
8484
await expect(target.prepareTransactions()).rejects.toThrowError(
8585
new PolymathError({
8686
code: ErrorCode.ProcedureValidationError,
87-
message:
88-
'The security token isControllable method is not currently valid, disable controller method can only be called on controllable security tokens',
87+
message: 'The controller has already been disabled permanently',
8988
})
9089
);
9190
});

src/procedures/__tests__/FreezeIssuance.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ describe('FreezeIssuance', () => {
8484
await expect(target.prepareTransactions()).rejects.toThrowError(
8585
new PolymathError({
8686
code: ErrorCode.ProcedureValidationError,
87-
message:
88-
'The security token isIssuable method is not currently valid, freeze issuance method can only be called on issuable security tokens',
87+
message: 'The issuance has already been frozen permanently',
8988
})
9089
);
9190
});

0 commit comments

Comments
 (0)