Skip to content

Commit 941ffaa

Browse files
committed
PDFBOX-6121: improve test coverage
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930503 13f79535-47bb-0310-9956-ffa450edef68
1 parent 1adc757 commit 941ffaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmpbox/src/test/java/org/apache/xmpbox/xml/DomXmpParserTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ void testPDFBox3882_2() throws XmpParsingException
400400
PhotoshopSchema photoshopSchema = xmp.getPhotoshopSchema();
401401
assertEquals("2012-04-30T12:54:48+00:00", photoshopSchema.getDateCreated());
402402
assertEquals("2012-05-03T09:34:50-04:00\tFile i1222b.jpg opened\n", photoshopSchema.getHistory());
403-
ArrayProperty ancestorsProperty = (ArrayProperty) photoshopSchema.getProperty("DocumentAncestors");
403+
ArrayProperty ancestorsProperty = photoshopSchema.getDocumentAncestorsProperty();
404404
List<AbstractField> ancestors = ancestorsProperty.getAllProperties();
405405
assertEquals(3, ancestors.size());
406406
assertEquals("adobe:docid:photoshop:11d3ec5a-c131-11d8-9274-ec65c7d7e0c6", ((TextType) ancestors.get(0)).getStringValue());

0 commit comments

Comments
 (0)