Skip to content

Commit

Permalink
Adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drmarjanovic committed Apr 27, 2023
1 parent 8319008 commit ceb6058
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import zio.test.{Spec, TestEnvironment, ZIOSpecDefault, assert}
object QueryDSLSpec extends ZIOSpecDefault {
def spec: Spec[Environment with TestEnvironment with Scope, Any] =
suite("Query DSL")(
suite("creating ElasticQuery")(
suite("constructing ElasticQuery")(
suite("bool")(
test("filter") {
val query = filter(matches(TestDocument.stringField, "test"), matches(field = "testField", "test field"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ trait SttpBackendStubSpec extends ZIOSpecDefault {
| ],
| "dateField": "2020-10-11",
| "intField": 10,
| "doubleField": 10.0
| "doubleField": 10.0,
| "booleanField": true
| }
|}""".stripMargin,
StatusCode.Ok
Expand Down Expand Up @@ -249,7 +250,8 @@ trait SttpBackendStubSpec extends ZIOSpecDefault {
| ],
| "dateField": "2020-10-11",
| "intField": 10,
| "doubleField": 10.0
| "doubleField": 10.0,
| "booleanField": false
| }
| }
| ]
Expand Down Expand Up @@ -299,7 +301,8 @@ trait SttpBackendStubSpec extends ZIOSpecDefault {
| ],
| "dateField": "2020-10-11",
| "intField": 10,
| "doubleField": 10.0
| "doubleField": 10.0,
| "booleanField": true
| }
| }
| ]
Expand Down

0 comments on commit ceb6058

Please sign in to comment.