Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tpolecat committed May 10, 2024
1 parent f5a8f46 commit ddae8bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ object ValidationMapping extends CirceMapping[IO]:
type Query { foo: Int }
type Subscription { bar: Int }
"""
val typeMappings = Nil
val typeMappings = TypeMappings.unsafe()

class ValidationSuite extends BaseSuite:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object VariablesMapping extends CirceMapping[IO]:
"""
val QueryType = schema.ref("Query")
val SubscriptionType = schema.ref("Subscription")
val typeMappings = List(
val typeMappings = TypeMappings.unsafe(
ObjectMapping(QueryType, List(
CursorFieldJson("echo", c => c.envR[String]("s").map(Json.fromString), Nil)
)),
Expand Down

0 comments on commit ddae8bd

Please sign in to comment.