Skip to content

Commit

Permalink
Add a test to check the owner
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto committed Oct 30, 2023
1 parent 7ecbe22 commit ed57aa8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/resolvers/TestDelegatableResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ contract('DelegatableResolver', function (accounts) {
})

describe('authorisations', async () => {
it('owner is the owner', async () => {
assert.equal(await resolver.owner(), owner)
})

it('approves multiple users', async () => {
await resolver.approve(encodedname, operator, true, { from: owner })
await resolver.approve(encodedname, operator2, true, { from: owner })
Expand Down

0 comments on commit ed57aa8

Please sign in to comment.