Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hvthhien committed Jun 12, 2024
1 parent 1b8902e commit 9d4db84
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/feralfile_exhibition_v4_2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const FeralfileExhibitionV4_2 = artifacts.require("FeralfileExhibitionV4_2");
const FeralfileVault = artifacts.require("FeralfileVault");
const FeralfileVault = artifacts.require("FeralfileVaultV2");

const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
const COST_RECEIVER = "0x46f2B641d8702f29c45f6D06292dC34Eb9dB1801";
Expand Down Expand Up @@ -595,7 +595,7 @@ contract("FeralfileExhibitionV4_2", async (accounts) => {
});

it("should buy bulk artworks successfully", async function () {
const contract = this.contract[3];
const contract = this.contracts[3];

// Mint artworks to the contract
const owner = contract.address;
Expand Down Expand Up @@ -688,7 +688,7 @@ contract("FeralfileExhibitionV4_2", async (accounts) => {
});

it("should fail to buy bulk artworks with invalid signature", async function () {
const contract = this.contract[10];
const contract = this.contracts[10];

// Mint artworks to the contract
const owner = contract.address;
Expand Down Expand Up @@ -753,7 +753,7 @@ contract("FeralfileExhibitionV4_2", async (accounts) => {
});

it("should fail to buy bulk artworks with incorrect payment", async function () {
const contract = this.contract[11];
const contract = this.contracts[11];

// Mint artworks to the contract
const owner = contract.address;
Expand Down Expand Up @@ -818,7 +818,7 @@ contract("FeralfileExhibitionV4_2", async (accounts) => {
});

it("should fail to buy bulk artworks with invalid series ID", async function () {
const contract = this.contract;
const contract = this.contracts[2];

// Mint artworks to the contract
const owner = contract.address;
Expand Down

0 comments on commit 9d4db84

Please sign in to comment.