summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/plugins/http/http_plugin_test.go2
-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