added config formatting and test code

This commit is contained in:
Ryan O'Hara-Reid
2017-07-25 12:35:12 +10:00
committed by Adrian Gallagher
parent 06786ed9de
commit 4e6885410c
10 changed files with 303 additions and 85 deletions

View File

@@ -69,7 +69,7 @@ func TestSetAPIKeys(t *testing.T) {
func TestUpdateAvailableCurrencies(t *testing.T) {
cfg := config.GetConfig()
err := cfg.LoadConfig(config.CONFIG_TEST_FILE)
err := cfg.LoadConfig(config.ConfigTestFile)
if err != nil {
t.Log("SOMETHING DONE HAPPENED!")
}