diff options
author | Vlad Uspensky <v.uspenskiy@icloud.com> | 2017-10-12 08:48:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 08:48:35 -0700 |
commit | f3b809659969ee29ab7f0a62ec1cff25a3e263dc (patch) | |
tree | 6150d30086c7cfa9aac2cdbd33e755863b2a7e74 /src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/ListResponseSuite.scala | |
parent | 623289020c91dfd4cb38ce23cac77d735b31c3be (diff) | |
parent | f49ba1bd0b14073dd263b5cce499250c8a4419b2 (diff) | |
download | rest-query-f3b809659969ee29ab7f0a62ec1cff25a3e263dc.tar.gz rest-query-f3b809659969ee29ab7f0a62ec1cff25a3e263dc.tar.bz2 rest-query-f3b809659969ee29ab7f0a62ec1cff25a3e263dc.zip |
Merge pull request #42 from drivergroup/PDSUI-list-responsev0.8.7
Fixed patientcriterion format; Added format for ListResponse
Diffstat (limited to 'src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/ListResponseSuite.scala')
-rw-r--r-- | src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/ListResponseSuite.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/ListResponseSuite.scala b/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/ListResponseSuite.scala index d7f1a9b..40739f6 100644 --- a/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/ListResponseSuite.scala +++ b/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/ListResponseSuite.scala @@ -96,7 +96,8 @@ class ListResponseSuite extends FlatSpec with Matchers { val listResponse = ListResponse(Seq(orig), meta) - val writtenJson = ListResponse.listResponseMetaWriter.write(listResponse) + + val writtenJson = ListResponse.listResponseWriter.write(listResponse) val expectedJson = s"""{"items":[$recordJsonAsString],"meta":${metaJsonObjectAsString(meta)}}""" writtenJson should be(expectedJson.parseJson) |