@@ -89,7 +89,7 @@ void testDiseaseById() throws IOException {
8989 Disease disease = _DISEASE .getById ("latest" , "51f6cf58e3e27c3994bd5408" ).execute ().body ();
9090
9191 assertNotNull (disease );
92- assertEquals ("Pure erythroid leukemia" , disease .getName ());
92+ assertEquals ("Acute erythroid leukemia (AEL) " , disease .getName ());
9393 assertEquals (Disease .Type .HEMATO , disease .getType ());
9494 assertEquals ("9840/3" , disease .getIcdO3Morphology ());
9595 assertFalse (disease .getSamePrimaries ().isEmpty ());
@@ -115,7 +115,7 @@ void testDiseaseById() throws IOException {
115115 assertNull (disease .getObsoleteNewCode ());
116116 assertEquals (1 , disease .getAbstractorNote ().size ());
117117 assertEquals (2 , disease .getTreatment ().size ());
118- assertNull (disease .getGenetics ());
118+ assertNotNull (disease .getGenetics ());
119119 assertFalse (disease .getAlternateName ().isEmpty ());
120120 assertEquals ("Acute erythemia [OBS]" , disease .getAlternateName ().get (0 ).getValue ());
121121 assertTrue (disease .getIcdO2Morphology ().contains ("9840/3" ));
@@ -138,7 +138,7 @@ void testDiseaseById() throws IOException {
138138 assertNotNull (disease .getTransformFrom ());
139139 assertNull (disease .getTransformTo ());
140140 assertNotNull (disease .getImmunophenotype ());
141- assertEquals ("Bone marrow biopsy " , disease .getDiagnosisMethod ().get (0 ).getValue ());
141+ assertEquals ("Cytogenetics " , disease .getDiagnosisMethod ().get (0 ).getValue ());
142142 assertEquals ("See abstractor notes" , disease .getModuleId ().get (0 ).getValue ());
143143 assertNull (disease .getBiomarkers ());
144144 assertNull (disease .getTreatmentText ());
@@ -175,8 +175,8 @@ void testDiseaseSearch() throws IOException {
175175
176176 assertNotNull (results );
177177 assertEquals (25 , results .getCount ().longValue ());
178- assertEquals (5 , results .getTotal ().longValue ());
179- assertEquals (5 , results .getResults ().size ());
178+ assertEquals (7 , results .getTotal ().longValue ());
179+ assertEquals (7 , results .getResults ().size ());
180180 assertEquals (Collections .singletonList ("basophilic" ), results .getTerms ());
181181
182182 search .setSiteCategory ("BAD_VALUE" );
@@ -211,8 +211,8 @@ void testDiseaseSearch() throws IOException {
211211
212212 assertNotNull (results );
213213 assertEquals (25 , results .getCount ().longValue ());
214- assertEquals (6 , results .getTotal ().longValue ());
215- assertEquals (6 , results .getResults ().size ());
214+ assertEquals (8 , results .getTotal ().longValue ());
215+ assertEquals (8 , results .getResults ().size ());
216216 assertEquals (Collections .singletonList ("basophilic" ), results .getTerms ());
217217 }
218218
0 commit comments