Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NavyAdmiral committed Jun 12, 2019
1 parent 2d53f5b commit 23a84df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion evm/test/BasicConsumer_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ contract('BasicConsumer', () => {
const request = h.decodeRunRequest(log)
const expected = {
path: ['USD'],
url:
get:
'https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD,EUR,JPY'
}

Expand Down
2 changes: 1 addition & 1 deletion evm/test/ServiceAgreementConsumer_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ contract('ServiceAgreementConsumer', () => {
assertBigNum(1, request.dataVersion)
const url =
'https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD,EUR,JPY'
assert.deepEqual(params, { path: currency, url: url })
assert.deepEqual(params, { path: currency, get: url })
})

it('has a reasonable gas cost', async () => {
Expand Down
2 changes: 1 addition & 1 deletion examples/uptime_sla/test/UptimeSLA_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract('UptimeSLA', accounts => {

const decoded = await h.decodeDietCBOR(events[0].args.data)
assert.deepEqual(decoded, {
url: 'https://status.heroku.com/api/ui/availabilities',
get: 'https://status.heroku.com/api/ui/availabilities',
path: ['data', '0', 'attributes', 'calculation']
})
})
Expand Down

0 comments on commit 23a84df

Please sign in to comment.