diff --git a/test/loci/formats/utests/ZarrReaderTest.java b/test/loci/formats/utests/ZarrReaderTest.java index d1631be..a773991 100644 --- a/test/loci/formats/utests/ZarrReaderTest.java +++ b/test/loci/formats/utests/ZarrReaderTest.java @@ -238,7 +238,7 @@ public void testParseOmeroMetadataWithIntegerValues() { omeroMetadata.put("rdefs", rdefs); try { - reader.parseOmeroMetadata(file.getAbsolutePath(), omeroMetadata); + reader.setId(file.getAbsolutePath()); } catch (IOException | FormatException e) { fail("Unexpected exception while parsing Omero metadata with Integer values"); } @@ -277,7 +277,7 @@ public void testParseOmeroMetadataWithDoubleValues() { omeroMetadata.put("rdefs", rdefs); try { - reader.parseOmeroMetadata(file.getAbsolutePath(), omeroMetadata); + reader.setId(file.getAbsolutePath()); } catch (IOException | FormatException e) { fail("Unexpected exception while parsing Omero metadata with Double values"); }