aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/InterventionFormatSuite.scala
diff options
context:
space:
mode:
authorKseniya Tomskikh <ktomskih@datamonsters.co>2017-10-19 17:34:26 +0700
committerGitHub <noreply@github.com>2017-10-19 17:34:26 +0700
commitc04b779341e9d54e5b519db085420c9a1ea66610 (patch)
tree3101844311cddfb7e9efa953311ca1f725c2350a /src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/InterventionFormatSuite.scala
parent12cee94e187ada6413adc78e0fcc46ed930c306a (diff)
parent828cccb152ed525f6decf859283cc1b2589d106c (diff)
downloadrest-query-0.9.3.tar.gz
rest-query-0.9.3.tar.bz2
rest-query-0.9.3.zip
Merge pull request #49 from drivergroup/TRIAL-54v0.9.3
TRIAL-54 Study designs as enum
Diffstat (limited to 'src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/InterventionFormatSuite.scala')
-rw-r--r--src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/InterventionFormatSuite.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/InterventionFormatSuite.scala b/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/InterventionFormatSuite.scala
index 5891e1c..4532da4 100644
--- a/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/InterventionFormatSuite.scala
+++ b/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/InterventionFormatSuite.scala
@@ -59,7 +59,7 @@ class InterventionFormatSuite extends FlatSpec with Matchers {
}
"Json format for InterventionType" should "read and write correct JSON" in {
- val interventionType = InterventionType.typeFromString("Surgery/Procedure")
+ val interventionType = InterventionType.SurgeryProcedure
val writtenJson = interventionTypeFormat.write(interventionType)
writtenJson should be(