diff options
author | Kseniya Tomskikh <ktomskih@datamonsters.co> | 2017-11-01 18:54:15 +0700 |
---|---|---|
committer | Kseniya Tomskikh <ktomskih@datamonsters.co> | 2017-11-01 18:54:15 +0700 |
commit | aefa081802218fad505ba1bca02c0497f2ce7be4 (patch) | |
tree | f8b8f6ef6f70fef57110117c601abf49b6e3662b /src/test/scala/xyz/driver/pdsuidomain/formats/json | |
parent | ff8729639c7067aee7dca130c0a0fc3f425488f0 (diff) | |
download | rest-query-0.12.1.tar.gz rest-query-0.12.1.tar.bz2 rest-query-0.12.1.zip |
Fixed patient's criteria updatev0.12.1
Diffstat (limited to 'src/test/scala/xyz/driver/pdsuidomain/formats/json')
-rw-r--r-- | src/test/scala/xyz/driver/pdsuidomain/formats/json/PatientCriterionFormatSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/xyz/driver/pdsuidomain/formats/json/PatientCriterionFormatSuite.scala b/src/test/scala/xyz/driver/pdsuidomain/formats/json/PatientCriterionFormatSuite.scala index e0f96bb..60e0fff 100644 --- a/src/test/scala/xyz/driver/pdsuidomain/formats/json/PatientCriterionFormatSuite.scala +++ b/src/test/scala/xyz/driver/pdsuidomain/formats/json/PatientCriterionFormatSuite.scala @@ -51,7 +51,7 @@ class PatientCriterionFormatSuite extends FlatSpec with Matchers { val updateBulkPatientCriterionJson = """[{"id":1,"eligibilityStatus":"No"},{"id":2,"isVerified":false}]""".parseJson val expectedDraftPatientCriterionList = List( - DraftPatientCriterion(id = LongId(1), eligibilityStatus = Some(LabelValue.No), isVerified = None), + DraftPatientCriterion(id = LongId(1), eligibilityStatus = Some(Some(LabelValue.No)), isVerified = None), DraftPatientCriterion(id = LongId(2), eligibilityStatus = None, isVerified = Some(false)) ) val parsedDraftPatientCriterionList = draftPatientCriterionListReader.read(updateBulkPatientCriterionJson) |