Pass in a provider and instantiate a new web3Wrapper in token_registry_wrapper

This commit is contained in:
Alex Browne
2018-05-30 17:54:12 -07:00
parent 064608a8ef
commit a6d669453f
2 changed files with 7 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ describe('TokenRegistry', () => {
owner = accounts[0];
notOwner = accounts[1];
tokenReg = await TokenRegistryContract.deployFrom0xArtifactAsync(artifacts.TokenRegistry, provider, txDefaults);
tokenRegWrapper = new TokenRegWrapper(tokenReg);
tokenRegWrapper = new TokenRegWrapper(tokenReg, provider);
});
beforeEach(async () => {
await blockchainLifecycle.startAsync();