Skip to content

Commit

Permalink
Well, what status is it, then?
Browse files Browse the repository at this point in the history
  • Loading branch information
rossabaker committed Aug 30, 2021
1 parent b519f3b commit 35c0d48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ class CORSSuite extends Http4sSuite {
val req = buildRequest("/bar").withHeaders("Origin" -> "http://blah.com/")
cors2
.orNotFound(req)
.map(resp => resp.status.code == 403)
.assert
.map(_.status)
.assertEquals(Status.Forbidden)
}

test("Fall through") {
Expand Down

0 comments on commit 35c0d48

Please sign in to comment.