Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
removeAccount (#274)
Browse files Browse the repository at this point in the history
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
  • Loading branch information
macfarla authored Feb 15, 2022
1 parent 2e046e4 commit 312b9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-account-rules-permissioning.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ contract("Account Rules (Permissioning)", (accounts) => {

it('should not allow non-admin account to remove from allowlist', async () => {
try {
await rulesContract.addAccount(address1, { from: accounts[1] });
await rulesContract.removeAccount(address1, { from: accounts[1] });
expect.fail(null, null, "Modifier was not enforced")
} catch(err) {
expect(err.reason).to.contain('Sender not authorized');
Expand Down

0 comments on commit 312b9f6

Please sign in to comment.