diff options
Diffstat (limited to 'service/http')
-rw-r--r-- | service/http/config_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/config_test.go b/service/http/config_test.go index 6bb314d8..d8b92247 100644 --- a/service/http/config_test.go +++ b/service/http/config_test.go @@ -16,7 +16,7 @@ func (cfg *mockCfg) Get(name string) service.Config { return nil } func (cfg *mockCfg) Unmarshal(out interface{}) error { return json.Unmarshal([]byte(cfg.cfg), out) } func Test_Config_Hydrate_Error1(t *testing.T) { - cfg := &mockCfg{`{"enable": true}`} + cfg := &mockCfg{`{"address": "localhost:8080"}`} c := &Config{} assert.NoError(t, c.Hydrate(cfg)) |