Skip to content

Commit

Permalink
Use correct metadata file for test
Browse files Browse the repository at this point in the history
  • Loading branch information
solth committed Mar 7, 2024
1 parent 807b185 commit edcb63a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Kitodo/src/test/java/org/kitodo/selenium/AddingST.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class AddingST extends BaseTestSelenium {
private static RoleEditPage roleEditPage;
private static UserEditPage userEditPage;
private static ImportConfigurationEditPage importConfigurationEditPage;
private static final String TEST_METADATA_FILE = "testMetadataFileServiceTest.xml";
private static final String TEST_METADATA_FILE = "testMultiVolumeWorkMeta.xml";
private static int secondProcessId = -1;

@BeforeClass
Expand Down
9 changes: 9 additions & 0 deletions Kitodo/src/test/resources/rulesets/ruleset_test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,15 @@
</permit>
</permit>
</restriction>
<restriction division="MultiVolumeWork" unspecified="forbidden">
<permit division="Volume"/>
<permit key="TitleDocMain" minOccurs="1"/>
<permit key="TitleDocMainShort" minOccurs="1"/>
<permit key="CatalogIDDigital" minOccurs="1"/>
<permit key="CatalogIDSource" minOccurs="1"/>
<permit key="TSL_ATS"/>
<permit key="ContributorPerson"/>
</restriction>
<restriction division="ContainedWork" unspecified="forbidden">
<permit key="TitleDocMain" minOccurs="1"/>
<permit key="TitleDocMainShort" minOccurs="1"/>
Expand Down

0 comments on commit edcb63a

Please sign in to comment.