SLING-7871 - fixing mistakes introduced on cleaning up for whiteboard
authorDominik Suess <suess@adobe.com>
Thu, 6 Sep 2018 13:35:32 +0000 (15:35 +0200)
committerKarl Pauls <kpauls@adobe.com>
Wed, 10 Oct 2018 10:27:32 +0000 (12:27 +0200)
packageinit/pom.xml
packageinit/src/test/java/org/apache/sling/jcr/packageinit/ExecutionPlanRepoInitializerTest.java

index 92116dc..c49aefb 100644 (file)
             <artifactId>slf4j-api</artifactId>
         </dependency>
         <dependency>
+            <groupId>commons-lang</groupId>
+            <artifactId>commons-lang</artifactId>
+            <version>2.6</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.jcr.api</artifactId>
             <version>2.4.0</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
+            <groupId>commons-lang</groupId>
+            <artifactId>commons-lang</artifactId>
+            <version>2.6</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
         </dependency>
index 5dd457a..40f4157 100644 (file)
@@ -104,7 +104,6 @@ public class ExecutionPlanRepoInitializerTest {
     public void setup() throws IOException, PackageException {
         when(registry.createExecutionPlan()).thenReturn(builder);
         when(builder.execute()).thenReturn(xplan);
-        when(builder2.execute()).thenReturn(xplan);
         this.statusFile = temporaryFolder.newFile(STATUSFILE_NAME + UUID.randomUUID());
     }