aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/PatientLabelFormatSuite.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/PatientLabelFormatSuite.scala')
-rw-r--r--src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/PatientLabelFormatSuite.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/PatientLabelFormatSuite.scala b/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/PatientLabelFormatSuite.scala
index e837861..2122777 100644
--- a/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/PatientLabelFormatSuite.scala
+++ b/src/test/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/PatientLabelFormatSuite.scala
@@ -25,13 +25,13 @@ class PatientLabelFormatSuite extends FlatSpec with Matchers {
)
val writtenJson = richPatientLabelWriter.write(RichPatientLabel(orig, isVerified = true))
- writtenJson should be (
+ writtenJson should be(
"""{"id":1,"labelId":20,"primaryValue":"Yes","verifiedPrimaryValue":null,"isVisible":true,"isVerified":true,
"score":1,"isImplicitMatch":false}""".parseJson)
- val updatePatientLabelJson = """{"verifiedPrimaryValue":"No"}""".parseJson
+ val updatePatientLabelJson = """{"verifiedPrimaryValue":"No"}""".parseJson
val expectedUpdatedPatientLabel = orig.copy(verifiedPrimaryValue = Some(LabelValue.No))
- val parsedUpdatePatientLabel = applyUpdateToPatientLabel(updatePatientLabelJson, orig)
+ val parsedUpdatePatientLabel = applyUpdateToPatientLabel(updatePatientLabelJson, orig)
parsedUpdatePatientLabel should be(expectedUpdatedPatientLabel)
}
@@ -53,7 +53,7 @@ class PatientLabelFormatSuite extends FlatSpec with Matchers {
)
val writtenJson = patientLabelEvidenceWriter.write(orig)
- writtenJson should be (
+ writtenJson should be(
"""{"id":1,"value":"Maybe","evidenceText":"evidence text","documentId":21,"evidenceId":10,"reportId":null,
"documentType":{"id":3,"name":"Laboratory Report"},"date":"2017-08-10",
"providerType":{"id":26,"name":"Emergency Medicine"}}""".parseJson)
@@ -73,7 +73,7 @@ class PatientLabelFormatSuite extends FlatSpec with Matchers {
)
val writtenJson = patientLabelDefiningCriteriaWriter.write(orig)
- writtenJson should be ("""{"id":1,"value":"Yes"}""".parseJson)
+ writtenJson should be("""{"id":1,"value":"Yes"}""".parseJson)
}
}