@0x/contracts-zero-ex: Make Ownable feature conform to IOwnable.

This commit is contained in:
Lawrence Forman
2020-04-28 12:07:09 -04:00
parent feb672c3cd
commit f1de64dcaf
4 changed files with 7 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ blockchainTests.resets('Ownable feature', env => {
],
IOwnableEvents.OwnershipTransferred,
);
expect(await ownable.getOwner().callAsync()).to.eq(newOwner);
expect(await ownable.owner().callAsync()).to.eq(newOwner);
});
});
@@ -80,7 +80,7 @@ blockchainTests.resets('Ownable feature', env => {
],
TestMigratorEvents.TestMigrateCalled,
);
expect(await ownable.getOwner().callAsync()).to.eq(newOwner);
expect(await ownable.owner().callAsync()).to.eq(newOwner);
});
it('failing migration reverts', async () => {