From 532edf670e8c30db958765141974f3fb0f5ec44c Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Wed, 20 Apr 2016 09:29:37 -0700 Subject: Store metamaskId on metaTx instead of getTxWithParams method. --- test/unit/config-manager-test.js | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'test/unit') diff --git a/test/unit/config-manager-test.js b/test/unit/config-manager-test.js index a5ddf78a4..e414ecb9e 100644 --- a/test/unit/config-manager-test.js +++ b/test/unit/config-manager-test.js @@ -156,31 +156,5 @@ describe('config-manager', function() { assert.equal(configManager.getTx('2').status, 'confirmed') }) }) - - describe('#getTxWithParams', function() { - it('returns a tx with the matching params', function() { - configManager.addTx({ id: '1', status: 'unconfirmed', txParams: { - from: 'from', - to: 'to', - data: 'data', - value: 'value', - } - }) - configManager.addTx({ id: '2', status: 'unconfirmed', txParams: { - from: 'from1', - to: 'to', - data: 'data', - value: 'value', - } - }) - var result = configManager.getTxWithParams({ - from: 'from', - to: 'to', - data: 'data', - value: 'value', - }) - assert.equal(result.id, '1') - }) - }) }) }) -- cgit v1.2.3