diff --git a/test/feralfile_exhibition_v4_2.js b/test/feralfile_exhibition_v4_2.js index 675ba22..698fa36 100644 --- a/test/feralfile_exhibition_v4_2.js +++ b/test/feralfile_exhibition_v4_2.js @@ -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"; @@ -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; @@ -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; @@ -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; @@ -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;