summaryrefslogtreecommitdiff
path: root/service/http/service_test.go
diff options
context:
space:
mode:
authorDmitry Patsura <[email protected]>2019-06-13 21:03:15 +0300
committerDmitry Patsura <[email protected]>2019-06-13 21:03:15 +0300
commita612f9d4ac8d2f5659a2e984067baf5a11fd6c2a (patch)
treec788a86b155b9f99c2a5d388e62fb89a99da58f6 /service/http/service_test.go
parent4d3b5a3fdd7750e7b6389fc7b4c92d56226e941e (diff)
Feature: Allow to disable http, and use only FastCGI
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)