diff --git a/ms2/test/src/org/labkey/test/tests/ms2/MascotTest.java b/ms2/test/src/org/labkey/test/tests/ms2/MascotTest.java index e6dfca20e5..ab176da9de 100644 --- a/ms2/test/src/org/labkey/test/tests/ms2/MascotTest.java +++ b/ms2/test/src/org/labkey/test/tests/ms2/MascotTest.java @@ -249,7 +249,7 @@ public void testDatImport() // really 466 peptides in the .dat import, but only first 100 show in default view assertEquals("Wrong number of peptides found", 100, peptidesTable.getDataRowCount()); - List peptideRow = peptidesTable.getRowDataAsText(0); + List peptideRow = new ArrayList<>(peptidesTable.getRowDataAsText(0)); List expectedPeptideRow = new ArrayList<>(Arrays.asList( "4", // Scan "3+", // Z @@ -315,7 +315,7 @@ public void testDatImportWithDecoys() peptidesTable = new DataRegionTable(REGION_NAME_PEPTIDES, this); assertEquals("Wrong number of peptides found", 67, peptidesTable.getDataRowCount()); - List peptideRow = peptidesTable.getRowDataAsText(0); + List peptideRow = new ArrayList<>(peptidesTable.getRowDataAsText(0)); List expectedPeptideRow = new ArrayList<>(Arrays.asList( "20", // Scan "1+", // Z