Fixed interest redirection tests

This commit is contained in:
The3D 2020-07-07 14:04:38 +02:00
parent d68261c1bc
commit 5b840dd577
2 changed files with 5 additions and 3 deletions

View File

@ -223,7 +223,8 @@
"reserve": "DAI",
"amount": "-1",
"user": "1",
"onBehalfOf": "1"
"onBehalfOf": "1",
"borrowRateMode": "stable"
},
"expected": "success"
},
@ -331,7 +332,8 @@
"reserve": "DAI",
"amount": "-1",
"user": "1",
"onBehalfOf": "1"
"onBehalfOf": "1",
"borrowRateMode": "stable"
},
"expected": "success"
},

View File

@ -12,7 +12,7 @@ BigNumber.config({DECIMAL_PLACES: 0, ROUNDING_MODE: BigNumber.ROUND_DOWN});
const scenarioFolder = './test/helpers/scenarios/';
const selectedScenarios: string[] = ['rebalance-stable-rate.json'];
const selectedScenarios: string[] = [];
fs.readdirSync(scenarioFolder).forEach((file) => {
if (selectedScenarios.length > 0 && !selectedScenarios.includes(file)) return;