diff options
author | Valery Piashchynski <[email protected]> | 2021-04-26 21:33:35 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-26 21:33:35 +0300 |
commit | b1a7f0cafa9eb10fbb6ac7dc79ec7da8257051ea (patch) | |
tree | 796b5e3866e7ea55c579c52e776d064d0d5a7fde /tests | |
parent | 9c07d12a0cc137de0dc79eb94057470985ee5e6c (diff) |
- Bump golang version in the go.mod
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/plugins/http/http_plugin_test.go | 2 | ||||
-rw-r--r-- | tests/static/sample.txt (renamed from tests/sample.txt) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/http/http_plugin_test.go b/tests/plugins/http/http_plugin_test.go index 8bfaa2e8..000fd25d 100644 --- a/tests/plugins/http/http_plugin_test.go +++ b/tests/plugins/http/http_plugin_test.go @@ -1669,7 +1669,7 @@ func staticNotForbid(t *testing.T) { } func serveStaticSample(t *testing.T) { - b, r, err := get("http://localhost:21603/tests/sample.txt") + b, r, err := get("http://localhost:21603/tests/static/sample.txt") assert.NoError(t, err) assert.Equal(t, "sample", b) _ = r.Body.Close() diff --git a/tests/sample.txt b/tests/static/sample.txt index eed7e79a..eed7e79a 100644 --- a/tests/sample.txt +++ b/tests/static/sample.txt |