Modified tests for Binance and GDAX exchange.

This commit is contained in:
Ryan O'Hara-Reid
2018-02-26 16:52:36 +11:00
parent bd24b00281
commit 0488ebc2dc
2 changed files with 1 additions and 12 deletions

View File

@@ -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) {