summaryrefslogtreecommitdiff
path: root/service/static
diff options
context:
space:
mode:
authorSiad Ardroumli <[email protected]>2020-08-02 22:59:34 +0200
committerGitHub <[email protected]>2020-08-02 22:59:34 +0200
commit090feef263a7d6aa967d37c05efcf7f565efac89 (patch)
treec08fae0c4e55cd50469fcec5672ec896e6fcdaca /service/static
parenta917346d2573cbaa3e212d762d236dd3b41703d4 (diff)
Update config_test.go
Diffstat (limited to 'service/static')
-rw-r--r--service/static/config_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/static/config_test.go b/service/static/config_test.go
index 442d87f9..8bf0d372 100644
--- a/service/static/config_test.go
+++ b/service/static/config_test.go
@@ -16,7 +16,7 @@ func (cfg *mockCfg) Unmarshal(out interface{}) error {
}
func Test_Config_Hydrate(t *testing.T) {
- cfg := &mockCfg{`{"dir": "./"}`}
+ cfg := &mockCfg{`{"dir": "./", "request":{"foo": "bar"}, "response":{"xxx": "yyy"}}`}
c := &Config{}
assert.NoError(t, c.Hydrate(cfg))