summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/linux.yml2
-rw-r--r--tests/plugins/http/http_plugin_test.go2
-rw-r--r--tests/static/sample.txt (renamed from tests/sample.txt)0
3 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index f2b203f4..bb7d646b 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -11,7 +11,7 @@ jobs:
fail-fast: true
matrix:
php: [ "7.4", "8.0" ]
- go: [ "1.15", "1.16" ]
+ go: [ "1.16" ]
os: [ ubuntu-20.04 ]
steps:
- name: Set up Go ${{ matrix.go }}
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