upd test description
This commit is contained in:
parent
e3acca0523
commit
746983ebd4
|
@ -79,7 +79,7 @@ describe('MainBalance', () => {
|
||||||
expect((await mainBalance.getOwnerAddress()).toString()).toBe(newOwner.address.toString());
|
expect((await mainBalance.getOwnerAddress()).toString()).toBe(newOwner.address.toString());
|
||||||
});
|
});
|
||||||
|
|
||||||
it("shouldn't change owner address", async () => {
|
it("shouldn't change owner address if not owner", async () => {
|
||||||
await mainBalance.sendChangeOwnerAddress(user.getSender(), newOwner.address);
|
await mainBalance.sendChangeOwnerAddress(user.getSender(), newOwner.address);
|
||||||
|
|
||||||
expect((await mainBalance.getOwnerAddress()).toString()).not.toBe(newOwner.address.toString());
|
expect((await mainBalance.getOwnerAddress()).toString()).not.toBe(newOwner.address.toString());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user