fix unit tests

feature/default_network_editable
brunobar79 6 years ago
parent cee5783283
commit 54021fd90b
  1. 2
      test/unit/app/controllers/metamask-controller-test.js

@ -573,7 +573,7 @@ describe('MetaMaskController', function () {
assert(metamaskController.preferencesController.removeAddress.calledWith(addressToRemove)) assert(metamaskController.preferencesController.removeAddress.calledWith(addressToRemove))
}) })
it('should call accountTracker.removeAccount', async function () { it('should call accountTracker.removeAccount', async function () {
assert(metamaskController.accountTracker.removeAccount.calledWith(addressToRemove)) assert(metamaskController.accountTracker.removeAccount.calledWith([addressToRemove]))
}) })
it('should call keyringController.removeAccount', async function () { it('should call keyringController.removeAccount', async function () {
assert(metamaskController.keyringController.removeAccount.calledWith(addressToRemove)) assert(metamaskController.keyringController.removeAccount.calledWith(addressToRemove))

Loading…
Cancel
Save