Skip to content

Commit

Permalink
Use safe authenticated methods for tests (ViewBlock#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhandyal authored and balthazar committed Mar 26, 2018
1 parent 79e8314 commit 6530f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ test.serial('[REST] allBookTickers', async t => {

test.serial('[REST] Signed call without creds', async t => {
try {
await client.order({ symbol: 'ETHBTC', side: 'BUY', quantity: 1 })
await client.accountInfo()
} catch (e) {
t.is(e.message, 'You need to pass an API key and secret to make authenticated calls.')
}
Expand Down

0 comments on commit 6530f10

Please sign in to comment.