Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
infiloop2 committed Jun 22, 2023
1 parent 9396b99 commit 2655709
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contracts/test/v0.8/automation/KeeperRegistry2_1.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4290,7 +4290,10 @@ describe('KeeperRegistry2_1', () => {
)
})

it('allows transferring to zero address', async () => {
it('allows cancelling transfer by reverting to zero address', async () => {
await registry
.connect(admin)
.transferUpkeepAdmin(upkeepId, await payee1.getAddress())
const tx = await registry
.connect(admin)
.transferUpkeepAdmin(upkeepId, ethers.constants.AddressZero)
Expand Down

0 comments on commit 2655709

Please sign in to comment.