Skip to content

Commit

Permalink
Refactor ElasticQuery tests (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
drmarjanovic authored May 1, 2023
1 parent 2c1688b commit db77e9b
Show file tree
Hide file tree
Showing 6 changed files with 2,361 additions and 2,031 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,14 @@ trait IntegrationSpec extends ZIOSpecDefault {
subDocumentList <- Gen.listOfBounded(1, 3)(genTestSubDocument)
intField <- Gen.int(1, 2000)
doubleField <- Gen.double(100, 2000)
booleanField <- Gen.boolean
} yield TestDocument(
stringField = stringField,
dateField = dateField,
subDocumentList = subDocumentList,
intField = intField,
doubleField = doubleField
doubleField = doubleField,
booleanField = booleanField
)

def genTestSubDocument: Gen[Any, TestSubDocument] = for {
Expand Down
Loading

0 comments on commit db77e9b

Please sign in to comment.