aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKseniya Tomskikh <ktomskih@datamonsters.co>2017-10-19 17:10:31 +0700
committerKseniya Tomskikh <ktomskih@datamonsters.co>2017-10-19 17:10:31 +0700
commit828cccb152ed525f6decf859283cc1b2589d106c (patch)
tree0993687ddf8eb5e9889e32e197f17d484a565a62
parent15d74838eb592c58bb0a912380f0ec1f537be333 (diff)
downloadrest-query-828cccb152ed525f6decf859283cc1b2589d106c.tar.gz
rest-query-828cccb152ed525f6decf859283cc1b2589d106c.tar.bz2
rest-query-828cccb152ed525f6decf859283cc1b2589d106c.zip
Review fixes
-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 a118093..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").get
+ val interventionType = InterventionType.SurgeryProcedure
val writtenJson = interventionTypeFormat.write(interventionType)
writtenJson should be(