diff --git a/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/MappedImportIT.java b/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/MappedImportIT.java index 8e6a81f73..2aba53ff7 100644 --- a/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/MappedImportIT.java +++ b/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/MappedImportIT.java @@ -194,14 +194,16 @@ public void testInstallWithRegexp() throws RepositoryException, IOException, Pa ImportOptions opts = getDefaultOptions(); RegexpPathMapping pathMapping = new RegexpPathMapping(); - pathMapping.addMapping("/testroot/(.*)", "/root/$1"); + pathMapping.addMapping("/testroot/_cq_tags/(.*)", "/root/_cq_tags/$1"); + pathMapping.addMapping("/testroot/cq:tags/(.*)", "/root/cq:tags/$1"); opts.setPathMapping(pathMapping); pack.install(opts); - assertNodeExists("/root/a"); - assertNodeMissing("/testroot/a"); + + assertNodeExists("/root/cq:tags/foo"); + assertNodeMissing("/testroot/cq:tags/foo"); } -} \ No newline at end of file +} diff --git a/vault-core/src/test/resources/test-packages/test_version.zip b/vault-core/src/test/resources/test-packages/test_version.zip index 79d850c97..f383396d9 100644 Binary files a/vault-core/src/test/resources/test-packages/test_version.zip and b/vault-core/src/test/resources/test-packages/test_version.zip differ