diff options
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(), |