From e672f2da0d74bc1e001acb35be0345e49663463e Mon Sep 17 00:00:00 2001 From: frankiebee Date: Fri, 16 Jun 2017 17:04:56 -0700 Subject: remove irrelevant test --- test/unit/tx-controller-test.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/unit/tx-controller-test.js b/test/unit/tx-controller-test.js index 908b060d4..8ce6a5a65 100644 --- a/test/unit/tx-controller-test.js +++ b/test/unit/tx-controller-test.js @@ -281,15 +281,12 @@ describe('Transaction Controller', function () { const priceStub = sinon.stub(txController.txProviderUtils.query, 'gasPrice') .callsArgWithAsync(0, null, wrongValue) - const nonceStub = sinon.stub(txController.txProviderUtils.query, 'getTransactionCount') - .callsArgWithAsync(2, null, wrongValue) const signStub = sinon.stub(txController, 'signTransaction') .callsArgWithAsync(1, null, noop) const pubStub = sinon.stub(txController.txProviderUtils, 'publishTransaction') .callsArgWithAsync(1, null, originalValue) - console.log('HERE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!') txController.approveTransaction(txMeta.id).then((err) => { assert.ifError(err, 'should not error') @@ -299,13 +296,11 @@ describe('Transaction Controller', function () { assert.equal(params.gas, originalValue, 'gas unmodified') assert.equal(params.gasPrice, originalValue, 'gas price unmodified') - assert.equal(params.nonce, originalValue, 'nonce unmodified') assert.equal(result.hash, originalValue, 'hash was set') estimateStub.restore() priceStub.restore() signStub.restore() - nonceStub.restore() pubStub.restore() done() }) -- cgit v1.2.3