summaryrefslogtreecommitdiff
path: root/service/http/service_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-10 14:52:56 +0300
committerWolfy-J <[email protected]>2018-09-10 14:52:56 +0300
commit6f70e31df4a88b85e576789ebe4fee6b5fc12d86 (patch)
treeb2476df0668db9db8ee1e317fb39e3c8a98fbdb7 /service/http/service_test.go
parent7dae5ddd0dc0e005fba1cdb5a2ef8afe3b61b6fb (diff)
minor config improvements
Diffstat (limited to 'service/http/service_test.go')
-rw-r--r--service/http/service_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/service_test.go b/service/http/service_test.go
index 9a5a3a9b..8dab7cd4 100644
--- a/service/http/service_test.go
+++ b/service/http/service_test.go
@@ -49,7 +49,7 @@ func Test_Service_NoConfig(t *testing.T) {
c := service.NewContainer(logger)
c.Register(ID, &Service{})
- assert.Error(t, c.Init(&testCfg{httpCfg: `{}`}))
+ assert.Error(t, c.Init(&testCfg{httpCfg: `{"Enable":true}`}))
s, st := c.Get(ID)
assert.NotNil(t, s)