summaryrefslogtreecommitdiff
path: root/tests/plugins/http
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-13 19:32:04 +0300
committerValery Piashchynski <[email protected]>2021-05-13 19:32:04 +0300
commit7ee84c5fd7cd57b97e2cb2005b37784183800ae0 (patch)
tree6a718020f9faabdba417d74110f7acd4382dff24 /tests/plugins/http
parent2be94ad0400e2f523d87f47e09a7bf505edef689 (diff)
- Update tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/http')
-rw-r--r--tests/plugins/http/http_plugin_test.go2
1 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 bc122588..128eec26 100644
--- a/tests/plugins/http/http_plugin_test.go
+++ b/tests/plugins/http/http_plugin_test.go
@@ -1807,7 +1807,7 @@ func serveStaticSampleNotAllowedPath(t *testing.T) {
_, r, err := get("http://localhost:21603/../../../../tests/../static/sample.txt")
assert.NoError(t, err)
- assert.Equal(t, 200, r.StatusCode)
+ assert.Equal(t, 403, r.StatusCode)
_ = r.Body.Close()
}