Skip to content

Commit 15c699c

Browse files
committed
Added enddate field to the test case.
1 parent 8dab23e commit 15c699c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

onprc_ehr/test/src/org/labkey/test/tests/onprc_ehr/ONPRC_EHRTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,9 @@ public void testExamEntry() throws Exception
10201020
Assert.assertEquals("mg/tablet", ordersGrid.getFieldValue(3, "conc_units"));
10211021
Assert.assertEquals(3L, ordersGrid.getFieldValue(3, "dosage"));
10221022
Assert.assertEquals("mg/kg", ordersGrid.getFieldValue(3, "dosage_units"));
1023+
//Added enddate by kollil
1024+
Date date_tr = DateUtils.truncate(new Date(), Calendar.DATE);
1025+
Assert.assertEquals(date_tr, ordersGrid.getDateFieldValue(3, "enddate"));
10231026

10241027
//note: amount calculation testing handled in surgery test
10251028

0 commit comments

Comments
 (0)