Skip to content

Commit

Permalink
broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdegoes committed Jul 24, 2023
1 parent d6d0d17 commit 834f810
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion zio-http/src/test/scala/zio/http/StaticServerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,21 @@ object StaticServerSpec extends HttpRunnableSpec {
),
)

private val methodGenWithoutOPTIONS: Gen[Any, Method] = Gen.fromIterable(
List(
Method.GET,
Method.POST,
Method.PUT,
Method.PATCH,
Method.DELETE,
Method.TRACE,
Method.CONNECT,
),
)

def nonZIOSpec = suite("NonZIOSpec")(
test("200 response") {
checkAll(HttpGen.method) { method =>
checkAll(methodGenWithoutOPTIONS) { method =>
val actual = status(method, Root / "ExitSuccess")
assertZIO(actual)(equalTo(Status.Ok))
}
Expand Down

0 comments on commit 834f810

Please sign in to comment.