diff options
author | Valery Piashchynski <[email protected]> | 2021-05-13 19:32:04 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-13 19:32:04 +0300 |
commit | 7ee84c5fd7cd57b97e2cb2005b37784183800ae0 (patch) | |
tree | 6a718020f9faabdba417d74110f7acd4382dff24 /tests/plugins/http | |
parent | 2be94ad0400e2f523d87f47e09a7bf505edef689 (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.go | 2 |
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() } |