Skip to content

Commit 9c7486f

Browse files
authored
Update column names and disable time zone shifting for HDRLTest (#240)
1 parent ea02a25 commit 9c7486f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

hdrl/test/src/org/labkey/test/tests/hdrl/HDRLTest.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ protected void doCleanup(boolean afterTest) throws TestTimeoutException
9696
super.doCleanup(afterTest);
9797
}
9898

99+
@Override
100+
protected boolean allowTimeZoneShifting()
101+
{
102+
return false; // Ext forms need to be updated to handle time zones properly
103+
}
104+
99105
private void addTestResultData(Map<String, Object> requestData, List<Map<String, Object>> specimenData)
100106
{
101107
addRequestResultData(requestData);
@@ -244,11 +250,11 @@ public void testRetrievalOfResultsAndArchiving() throws Exception
244250

245251
waitForElement(Locator.tagContainingText("td", specimenIds.get(0)));
246252
drt = new DataRegionTable("query", this);
247-
idx = drt.getRowIndex("SpecimenId", specimenIds.get(0));
253+
idx = drt.getRowIndex("RowId", specimenIds.get(0));
248254
assertEquals("Download", drt.getDataAsText(idx, 0));
249255
assertEquals( Arrays.asList("Completed","Exception"),drt.getColumnDataAsText("Status"));
250-
assertEquals( Arrays.asList("F","F"),drt.getColumnDataAsText("ResultModified"));
251-
assertEquals( Arrays.asList("7777","8888"),drt.getColumnDataAsText("CustomerBarcode"));
256+
assertEquals( Arrays.asList("F","F"),drt.getColumnDataAsText("ModifiedResultFlag"));
257+
assertEquals( Arrays.asList("7777","8888"),drt.getColumnDataAsText("CustomerBarCode"));
252258
assertEquals( Arrays.asList("Johnston","Johnston"),drt.getColumnDataAsText("LastName"));
253259
assertEquals( Arrays.asList("Jack","Fred"),drt.getColumnDataAsText("FirstName"));
254260
assertEquals( Arrays.asList("Sparrow"," "),drt.getColumnDataAsText("MiddleName"));

0 commit comments

Comments
 (0)