Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Feb 4, 2025
1 parent 0c78ec0 commit 178fd0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/token/ERC6909/extensions/ERC6909TokenSupply.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const { loadFixture } = require('@nomicfoundation/hardhat-network-helpers');
const { shouldBehaveLikeERC6909 } = require('../ERC6909.behavior');

async function fixture() {
const [holder, operator, recipient, other] = await ethers.getSigners();
const [holder, recipient] = await ethers.getSigners();
const token = await ethers.deployContract('$ERC6909TokenSupply');
return { token, holder, operator, recipient, other };
return { token, holder, recipient };
}

describe('ERC6909TokenSupply', function () {
Expand Down Expand Up @@ -40,7 +40,7 @@ describe('ERC6909TokenSupply', function () {
});

it('supply unaffected by transfers', async function () {
await this.token.$_transfer(this.holder, this.receiver, 1n, 42n);
await this.token.$_transfer(this.holder, this.recipient, 1n, 42n);
await expect(this.token.totalSupply(1n)).to.eventually.be.equal(supply);
});

Expand Down

0 comments on commit 178fd0d

Please sign in to comment.