upd test description

This commit is contained in:
gillgate 2024-09-10 11:50:05 +03:00
parent e3acca0523
commit 746983ebd4

View File

@ -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());