Add missing checks to attachStakingContract tests

This commit is contained in:
Amir Bandeali
2019-09-17 13:01:56 -07:00
parent bb46f184ed
commit 0d441a829f

View File

@@ -170,6 +170,9 @@ blockchainTests('Migration tests', env => {
);
for (const args of logsArgs) {
expect(args.wethProxyAddress).to.eq(wethProxyAddress);
expect(args.ethVaultAddress).to.eq(ethVaultAddress);
expect(args.rewardVaultAddress).to.eq(rewardVaultAddress);
expect(args.zrxVaultAddress).to.eq(zrxVaultAddress);
}
});
it('calls init with passed in addresses if they are not null', async () => {
@@ -190,6 +193,9 @@ blockchainTests('Migration tests', env => {
);
for (const args of logsArgs) {
expect(args.wethProxyAddress).to.eq(wethProxyAddress);
expect(args.ethVaultAddress).to.eq(ethVaultAddress);
expect(args.rewardVaultAddress).to.eq(rewardVaultAddress);
expect(args.zrxVaultAddress).to.eq(zrxVaultAddress);
}
});
});