From ed57aa8d60b692dca01a45e9afd563a5921aa60f Mon Sep 17 00:00:00 2001 From: Makoto Inoue <2630+makoto@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:33:54 +0000 Subject: [PATCH] Add a test to check the owner --- test/resolvers/TestDelegatableResolver.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/resolvers/TestDelegatableResolver.js b/test/resolvers/TestDelegatableResolver.js index 8b75b98c..8e42e4db 100644 --- a/test/resolvers/TestDelegatableResolver.js +++ b/test/resolvers/TestDelegatableResolver.js @@ -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 })