Skip to content

Commit

Permalink
add voucher with signers at top of file
Browse files Browse the repository at this point in the history
  • Loading branch information
gfournieriExec committed Apr 29, 2024
1 parent 6ba5992 commit 042040e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/beacon/Voucher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ describe('Voucher', function () {
let voucherHubWithVoucherManagerSigner: VoucherHub;
let voucherHubWithAssetEligibilityManagerSigner: VoucherHub;
let voucherHubWithAnyoneSigner: VoucherHub;
let voucherWithOwnerSigner: Voucher;
let voucherWithAnyoneSigner: Voucher;
// We define a fixture to reuse the same setup in every test.
// We use loadFixture to run this setup once, snapshot that state,
// and reset Hardhat Network to that snapshot in every test.
Expand Down Expand Up @@ -318,9 +320,7 @@ describe('Voucher', function () {
let requestOrder = { ...mockOrder };
let [voucherOwner1, requester, anyone]: SignerWithAddress[] = [];
let voucherHub: VoucherHub;
let voucher: Voucher;
let voucherWithOwnerSigner: Voucher;
let voucherWithAnyoneSigner: Voucher;
let voucher: Voucher; // TODO: Remove this when onlyAthorized is set to matchOrders

beforeEach(async () => {
({ voucherHub, voucherOwner1, requester, anyone } = await loadFixture(deployFixture));
Expand Down

0 comments on commit 042040e

Please sign in to comment.