Skip to content

Commit

Permalink
hit require
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Flores committed Feb 11, 2020
1 parent 7b31030 commit 9016a2f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6724,18 +6724,18 @@ async function test(testingContext) {
dDaiUnderlyingRaw = web3.utils.toBN(
allPreMigrationBalances.dDaiUnderlyingRaw
);
cDaiUnderlyingRaw = web3.utils.toBN(
allPreMigrationBalances.cDaiUnderlyingRaw
cSaiUnderlyingRaw = web3.utils.toBN(
allPreMigrationBalances.cSaiUnderlyingRaw
);
preMigrationBalances = {
dDaiUnderlyingRaw: dDaiUnderlyingRaw.toString(),
cDaiUnderlyingRaw: cDaiUnderlyingRaw.toString()
cSaiUnderlyingRaw: cSaiUnderlyingRaw.toString()
};

postDDaiUnderlyingRaw = dDaiUnderlyingRaw.add(cDaiUnderlyingRaw);
postDDaiUnderlyingRaw = dDaiUnderlyingRaw.add(cSaiUnderlyingRaw);
postMigrationBalances = {
dDaiUnderlyingRaw: postDDaiUnderlyingRaw.toString(),
cDaiUnderlyingRaw: ZERO.toString()
cSaiUnderlyingRaw: ZERO.toString()
};

await tester.withBalanceCheck(
Expand All @@ -6744,9 +6744,9 @@ async function test(testingContext) {
postMigrationBalances,
tester.runTest,
[
"V7 UserSmartWallet relay can trigger cDai to dDai migration after allowance is 0",
"V7 UserSmartWallet relay can trigger cSai to dDai migration",
UserSmartWalletV7,
"migrateCDaiToDDai",
"migrateCSaiToDDai",
"send",
[],
true,
Expand Down

0 comments on commit 9016a2f

Please sign in to comment.