mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-18 15:10:03 +00:00
Modified tests for Binance and GDAX exchange.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package binance
|
||||
|
||||
import (
|
||||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/thrasher-/gocryptotrader/config"
|
||||
@@ -60,12 +59,10 @@ func TestGetRecentTrades(t *testing.T) {
|
||||
|
||||
func TestGetHistoricalTrades(t *testing.T) {
|
||||
t.Parallel()
|
||||
b.Verbose = true
|
||||
v, err := b.GetHistoricalTrades("BTCUSDT", 5, 1337)
|
||||
_, err := b.GetHistoricalTrades("BTCUSDT", 5, 1337)
|
||||
if err == nil {
|
||||
t.Error("Test Failed - Binance GetHistoricalTrades() error", err)
|
||||
}
|
||||
log.Println(v)
|
||||
}
|
||||
|
||||
func TestGetAggregatedTrades(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user