From f43c3ff79ccc5d56355db3786643a4db1f9a679e Mon Sep 17 00:00:00 2001 From: Sleyter Sandoval Date: Sun, 29 Sep 2024 21:53:10 -0500 Subject: [PATCH] change test description --- test/Treasury.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Treasury.test.ts b/test/Treasury.test.ts index afd31c3..015937a 100644 --- a/test/Treasury.test.ts +++ b/test/Treasury.test.ts @@ -61,7 +61,7 @@ describe('Treasury Contract', () => { await expect(sentTx).to.emit(treasury, 'Withdrawn').withArgs(beneficiary, amount) }) - it('Only owner can withdraw RBTC to a beneficiary', async () => { + it('Only account with Executor Role can withdraw RBTC to a beneficiary', async () => { const amount = parseEther('10') const sentTx = treasury.connect(owner).withdraw(beneficiary, amount) await expect(sentTx) @@ -101,7 +101,7 @@ describe('Treasury Contract', () => { await expect(sentTx).to.be.revertedWith('Insufficient ERC20 balance') }) - it('Only owner can withdraw ERC20 token to a beneficiary', async () => { + it('Only account with Executor Role can withdraw ERC20 token to a beneficiary', async () => { const amount = parseEther('1') const sentTx = treasury.connect(owner).withdrawERC20(rif, beneficiary, amount) await expect(sentTx)