aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2019-03-22 23:02:07 +0800
committerGitHub <noreply@github.com>2019-03-22 23:02:07 +0800
commit4ff9126ff2fddba40d3f210c757796458528ef42 (patch)
tree0bb55019edc4b6cfdce5ead408b8c1af8216fb5d /test/unit
parent174ec2d596d29a53d6051fe365c25a7c7456e1c8 (diff)
downloadtangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.gz
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.bz2
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.lz
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.xz
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.zst
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.zip
Replaces the coinbase link in the deposit modal with one for wyre (#6302)
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/app/buy-eth-url.spec.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/test/unit/app/buy-eth-url.spec.js b/test/unit/app/buy-eth-url.spec.js
index 36646fa68..6cf3e7d75 100644
--- a/test/unit/app/buy-eth-url.spec.js
+++ b/test/unit/app/buy-eth-url.spec.js
@@ -18,14 +18,9 @@ describe('', function () {
}
it('returns coinbase url with amount and address for network 1', function () {
- const coinbaseUrl = getBuyEthUrl(mainnet)
- const coinbase = coinbaseUrl.match(/(https:\/\/buy.coinbase.com)/)
- const amount = coinbaseUrl.match(/(amount)\D\d/)
- const address = coinbaseUrl.match(/(address)(.*)(?=&)/)
-
- assert.equal(coinbase[0], 'https://buy.coinbase.com')
- assert.equal(amount[0], 'amount=5')
- assert.equal(address[0], 'address=0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc')
+ const wyreUrl = getBuyEthUrl(mainnet)
+
+ assert.equal(wyreUrl, 'https://dash.sendwyre.com/sign-up')
})