mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-19 15:10:05 +00:00
Update config test code
This commit is contained in:
@@ -689,7 +689,7 @@ func TestUpdateConfig(t *testing.T) {
|
||||
}
|
||||
|
||||
newCfg := c
|
||||
err = c.UpdateConfig("", newCfg)
|
||||
err = c.UpdateConfig(ConfigTestFile, newCfg)
|
||||
if err != nil {
|
||||
t.Fatalf("Test failed. %s", err)
|
||||
}
|
||||
@@ -700,7 +700,7 @@ func TestUpdateConfig(t *testing.T) {
|
||||
}
|
||||
|
||||
newCfg.Currency.Cryptocurrencies = ""
|
||||
err = c.UpdateConfig("", newCfg)
|
||||
err = c.UpdateConfig(ConfigTestFile, newCfg)
|
||||
if err != nil {
|
||||
t.Errorf("Test failed. %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user