mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-10 07:37:33 +02:00
chore(deps): bump github.com/rs/cors from 1.7.0 to 1.8.0 (#2334)
* chore(deps): bump github.com/rs/cors from 1.7.0 to 1.8.0 Bumps [github.com/rs/cors](https://github.com/rs/cors) from 1.7.0 to 1.8.0. - [Release notes](https://github.com/rs/cors/releases) - [Commits](https://github.com/rs/cors/compare/v1.7.0...v1.8.0) --- updated-dependencies: - dependency-name: github.com/rs/cors dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix test to handle 204 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
This commit is contained in:
parent
9d17e65a5d
commit
34b8af77d1
3 changed files with 15 additions and 3 deletions
|
@ -103,7 +103,7 @@ func TestAuthenticate_Handler(t *testing.T) {
|
|||
h.ServeHTTP(rr, req)
|
||||
expected = fmt.Sprintf("User-agent: *\nDisallow: /")
|
||||
code := rr.Code
|
||||
if code != http.StatusOK {
|
||||
if code/100 != 2 {
|
||||
t.Errorf("bad preflight code %v", code)
|
||||
}
|
||||
resp := rr.Result()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue