diff --git a/test/test.Wallet.js b/test/test.Wallet.js index c23a27294..3406cf42c 100644 --- a/test/test.Wallet.js +++ b/test/test.Wallet.js @@ -1093,8 +1093,8 @@ describe('Wallet model', function() { it('should throw if network is different', function() { var backup = copayConfig.forceNetwork; copayConfig.forceNetwork = true; - config.networkName = 'testnet'; - cachedCreateW2.should.throw(Error); + config.networkName = 'livenet'; + createW2.should.throw(Error); copayConfig.forceNetwork = backup; }); });