diff options
author | Dmitry Patsura <[email protected]> | 2019-06-13 21:03:15 +0300 |
---|---|---|
committer | Dmitry Patsura <[email protected]> | 2019-06-13 21:03:15 +0300 |
commit | a612f9d4ac8d2f5659a2e984067baf5a11fd6c2a (patch) | |
tree | c788a86b155b9f99c2a5d388e62fb89a99da58f6 /service/http/config_test.go | |
parent | 4d3b5a3fdd7750e7b6389fc7b4c92d56226e941e (diff) |
Feature: Allow to disable http, and use only FastCGI
Diffstat (limited to 'service/http/config_test.go')
-rw-r--r-- | service/http/config_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/http/config_test.go b/service/http/config_test.go index 48651e16..54e5b27a 100644 --- a/service/http/config_test.go +++ b/service/http/config_test.go @@ -19,7 +19,7 @@ func Test_Config_Hydrate_Error1(t *testing.T) { cfg := &mockCfg{`{"enable": true}`} c := &Config{} - assert.Error(t, c.Hydrate(cfg)) + assert.NoError(t, c.Hydrate(cfg)) } func Test_Config_Hydrate_Error2(t *testing.T) { @@ -252,7 +252,7 @@ func Test_Config_DeadPool(t *testing.T) { func Test_Config_InvalidAddress(t *testing.T) { cfg := &Config{ - Address: "", + Address: "unexpected_address", MaxRequestSize: 1024, Uploads: &UploadsConfig{ Dir: os.TempDir(), |