Skip to content

Commit

Permalink
fix: Remove test case of ZERO new emissionManager
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Mar 15, 2022
1 parent ceacd7e commit 837c949
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/rewards/set-emission-manager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ makeSuite('RewardsController EmissionManager Role', (testEnv: TestEnv) => {
rewardsController.connect(user1.signer).setEmissionManager(user1.address)
).to.be.revertedWith('ONLY_EMISSION_MANAGER');
});
it('Revert at setEmissionManager if emission manager is ZERO_ADDRESS', async () => {
const { rewardsController } = testEnv;

await expect(rewardsController.setEmissionManager(ZERO_ADDRESS)).to.be.revertedWith(
'EMISSION_MANAGER_NOT_ZERO'
);
});

it('Successfully call setEmissionManager if called by emission manager', async () => {
const {
Expand Down

0 comments on commit 837c949

Please sign in to comment.