Update config test code

This commit is contained in:
Adrian Gallagher
2018-10-19 00:07:42 -07:00
parent c2c7032858
commit a94d88debf

View File

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