Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikl committed Dec 5, 2024
1 parent b9ed0c0 commit 13819a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/loci/formats/utests/ZarrReaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down Expand Up @@ -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");
}
Expand Down

0 comments on commit 13819a2

Please sign in to comment.