Skip to content

Commit

Permalink
Fix the Mock A token references
Browse files Browse the repository at this point in the history
  • Loading branch information
alsco77 committed Nov 24, 2020
1 parent fa38060 commit 50e7934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions test/masset/TestMassetRedeemMulti.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import * as t from "types/generated";
const { expect } = envSetup.configure();

const MockERC20 = artifacts.require("MockERC20");
const MockAToken = artifacts.require("MockAToken");
const MockAToken = artifacts.require("MockATokenV2");
const MockAave = artifacts.require("MockAaveV2");

contract("Masset - RedeemMasset", async (accounts) => {
Expand Down Expand Up @@ -273,9 +273,7 @@ contract("Masset - RedeemMasset", async (accounts) => {
);
const expectedBassetsExact = await Promise.all(
basketComp.bAssets.map((b) =>
simpleToExactAmount(10, 18)
.mul(ratioScale)
.div(new BN(b.ratio)),
simpleToExactAmount(10, 18).mul(ratioScale).div(new BN(b.ratio)),
),
);
const bAssetFees = expectedBassetsExact.map((b, i) =>
Expand Down
2 changes: 1 addition & 1 deletion test/masset/TestMassetRedemption.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { expect } = envSetup.configure();

const MockBasketManager1 = artifacts.require("MockBasketManager1");
const MockERC20 = artifacts.require("MockERC20");
const MockAToken = artifacts.require("MockAToken");
const MockAToken = artifacts.require("MockATokenV2");
const MockAave = artifacts.require("MockAaveV2");
const AaveIntegration = artifacts.require("AaveIntegration");

Expand Down

0 comments on commit 50e7934

Please sign in to comment.