Skip to content

Commit

Permalink
feat: update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed May 10, 2024
1 parent 6a54729 commit f8a66e1
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions packages/contracts/test/10_unit-testing/12_plugin-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -727,27 +727,6 @@ describe('TokenVotingSetup', function () {

expect(permissions1.length).to.be.equal(2);
expect(permissions1).to.deep.equal(essentialPermissions);

const permissions2 = await pluginSetup.callStatic.prepareUninstallation(
dao.address,
{
plugin,
currentHelpers: [governanceERC20.address],
data: prepareUninstallationInputs,
}
);

expect(permissions2.length).to.be.equal(3);
expect(permissions2).to.deep.equal([
...essentialPermissions,
[
Operation.Revoke,
governanceERC20.address,
dao.address,
AddressZero,
MINT_PERMISSION_ID,
],
]);
});
});
});

0 comments on commit f8a66e1

Please sign in to comment.