Skip to content

Commit

Permalink
ON-476: coverage 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lima committed Sep 18, 2023
1 parent 49bd7bd commit f5fd9ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/ERC7432.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ describe('ERC7432', () => {
).to.be.revertedWith('ERC7432: sender must be approved')
})
it('should revoke role from if operator is approved by grantee', async () => {
await ERC7432.connect(grantor).approveRole(AddressZero, tokenId, operator.address, false)
await ERC7432.connect(userOne).approveRole(AddressZero, tokenId, operator.address, true)
expect(await ERC7432.hasRole(PROPERTY_MANAGER, AddressZero, tokenId, grantor.address, userOne.address)).to.be.equal(true)
await expect(
Expand Down

0 comments on commit f5fd9ec

Please # to comment.