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-18 13:51:47 +0700
committerKseniya Tomskikh <ktomskih@datamonsters.co>2017-10-18 13:51:47 +0700
commit15d74838eb592c58bb0a912380f0ec1f537be333 (patch)
tree0d50474a49c0e18ef49641d06422f23891af6aa7 /src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/InterventionFormatSuite.scala
parent2a9bada86658ef15793f99f1867e23f3b31e7032 (diff)
downloadrest-query-15d74838eb592c58bb0a912380f0ec1f537be333.tar.gz
rest-query-15d74838eb592c58bb0a912380f0ec1f537be333.tar.bz2
rest-query-15d74838eb592c58bb0a912380f0ec1f537be333.zip
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..a118093 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.typeFromString("Surgery/Procedure").get
val writtenJson = interventionTypeFormat.write(interventionType)
writtenJson should be(