diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-05-12 04:10:54 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-05-12 04:10:54 +0800 |
commit | 8bfa40d2d36b11f9408e94ab82d44ac2703f760c (patch) | |
tree | ddd14b153820226f8f1b3e154f8a3c052f2aa2b1 /test | |
parent | b430cbd064fa8564e8f8edf7c6f5517a42646504 (diff) | |
download | tangerine-wallet-browser-8bfa40d2d36b11f9408e94ab82d44ac2703f760c.tar tangerine-wallet-browser-8bfa40d2d36b11f9408e94ab82d44ac2703f760c.tar.gz tangerine-wallet-browser-8bfa40d2d36b11f9408e94ab82d44ac2703f760c.tar.bz2 tangerine-wallet-browser-8bfa40d2d36b11f9408e94ab82d44ac2703f760c.tar.lz tangerine-wallet-browser-8bfa40d2d36b11f9408e94ab82d44ac2703f760c.tar.xz tangerine-wallet-browser-8bfa40d2d36b11f9408e94ab82d44ac2703f760c.tar.zst tangerine-wallet-browser-8bfa40d2d36b11f9408e94ab82d44ac2703f760c.zip |
Move all users to new scalable backend
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/migrations-test.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/migrations-test.js b/test/unit/migrations-test.js index 3b347530a..9ea8d5c5a 100644 --- a/test/unit/migrations-test.js +++ b/test/unit/migrations-test.js @@ -5,6 +5,7 @@ var wallet1 = require(path.join('..', 'lib', 'migrations', '001.json')) var migration2 = require(path.join('..', '..', 'app', 'scripts', 'migrations', '002')) var migration3 = require(path.join('..', '..', 'app', 'scripts', 'migrations', '003')) +var migration4 = require(path.join('..', '..', 'app', 'scripts', 'migrations', '004')) describe('wallet1 is migrated successfully', function() { @@ -23,6 +24,10 @@ describe('wallet1 is migrated successfully', function() { var secondResult = migration3.migrate(firstResult) assert.equal(secondResult.config.provider.rpcTarget, newTestRpc) + var thirdResult = migration4.migrate(secondResult) + assert.equal(secondResult.config.provider.rpcTarget, null) + assert.equal(secondResult.config.provider.type, 'testnet') + done() }) }) |