summaryrefslogtreecommitdiff
path: root/service/http/config_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-06-24 13:57:50 +0300
committerWolfy-J <[email protected]>2019-06-24 13:57:50 +0300
commitd8ccbb94a5915a1957beb162d3c2ecb668087ef3 (patch)
treea11c5e1b90961b98c22eac9abf4c3cef29688c83 /service/http/config_test.go
parent5a7569883ca7235f64e94d772e0445f2d522fcab (diff)
updated travis
Diffstat (limited to 'service/http/config_test.go')
-rw-r--r--service/http/config_test.go2
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))