summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-26 21:33:35 +0300
committerValery Piashchynski <[email protected]>2021-04-26 21:33:35 +0300
commitb1a7f0cafa9eb10fbb6ac7dc79ec7da8257051ea (patch)
tree796b5e3866e7ea55c579c52e776d064d0d5a7fde
parent9c07d12a0cc137de0dc79eb94057470985ee5e6c (diff)
- Bump golang version in the go.mod
Signed-off-by: Valery Piashchynski <[email protected]>
-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