Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit d1ce0d4

Browse files
committed
Fix tests for name price check.
1 parent 261f4f7 commit d1ce0d4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/profiles/store/availability/actions/async.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('Availability Store: Async Actions', () => {
2929
.reply(404, {}, { 'Content-Type': 'application/json' })
3030

3131
nock('https://core.blockstack.org')
32-
.get('/v1/prices/names/satoshi.id?single_sig=1')
32+
.get('/v2/prices/names/satoshi.id?single_sig=1')
3333
.reply(
3434
200,
3535
{
@@ -87,7 +87,7 @@ describe('Availability Store: Async Actions', () => {
8787
{
8888
type: NAME_PRICE,
8989
domainName: 'satoshi.id',
90-
price: 0.02118707
90+
price: 1.5999999999999999
9191
}
9292
]
9393
assert.deepEqual(store.getActions(), expectedActions)
@@ -174,7 +174,7 @@ describe('Availability Store: Async Actions', () => {
174174
.reply(404, {}, { 'Content-Type': 'application/json' })
175175

176176
nock('https://core.blockstack.org')
177-
.get('/v1/prices/names/satoshi.id?single_sig=1')
177+
.get('/v2/prices/names/satoshi.id?single_sig=1')
178178
.reply(500, 'UTXO provider unavailable')
179179

180180
const store = mockStore({})

0 commit comments

Comments
 (0)