SLING-6994 reproduce problem with vanity path in unit test
diff --git a/pom.xml b/pom.xml
index 15c25e9..4ff08b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@
<properties>
<oak.version>1.8.9</oak.version>
<jackrabbit.version>2.16.3</jackrabbit.version>
- <sling-mock.version>2.3.12</sling-mock.version>
+ <sling-mock.version>2.3.13-SNAPSHOT</sling-mock.version>
</properties>
<scm>
diff --git a/src/test/java/org/apache/sling/testing/mock/sling/oak/resource/VanityPathTest.java b/src/test/java/org/apache/sling/testing/mock/sling/oak/resource/VanityPathTest.java
new file mode 100644
index 0000000..3bf188e
--- /dev/null
+++ b/src/test/java/org/apache/sling/testing/mock/sling/oak/resource/VanityPathTest.java
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.sling.testing.mock.sling.oak.resource;
+
+import org.apache.sling.testing.mock.sling.ResourceResolverType;
+import org.apache.sling.testing.mock.sling.resource.AbstractVanityPathTest;
+
+public class VanityPathTest extends AbstractVanityPathTest {
+
+ @Override
+ protected ResourceResolverType getResourceResolverType() {
+ return ResourceResolverType.JCR_OAK;
+ }
+
+}