summaryrefslogtreecommitdiff
path: root/service/http/service_test.go
diff options
context:
space:
mode:
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 b3b001c7..69cb7003 100644
--- a/service/http/service_test.go
+++ b/service/http/service_test.go
@@ -53,7 +53,7 @@ func Test_Service_NoConfig(t *testing.T) {
c := service.NewContainer(logger)
c.Register(ID, &Service{})
- assert.Error(t, c.Init(&testCfg{httpCfg: `{"Enable":true}`}))
+ c.Init(&testCfg{httpCfg: `{"Enable":true}`})
s, st := c.Get(ID)
assert.NotNil(t, s)