This is an automated email from the ASF dual-hosted git repository.

pauls pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-packageinit.git

commit 97cba040eccc156625d618af90402394715be945
Author: Dominik Suess <[email protected]>
AuthorDate: Thu Sep 6 15:35:32 2018 +0200

    SLING-7871 - fixing mistakes introduced on cleaning up for whiteboard
---
 packageinit/pom.xml                                          | 12 ++++++++++++
 .../jcr/packageinit/ExecutionPlanRepoInitializerTest.java    |  1 -
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/packageinit/pom.xml b/packageinit/pom.xml
index 92116dc..c49aefb 100644
--- a/packageinit/pom.xml
+++ b/packageinit/pom.xml
@@ -100,6 +100,12 @@
             <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>
@@ -124,6 +130,12 @@
             <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>
diff --git 
a/packageinit/src/test/java/org/apache/sling/jcr/packageinit/ExecutionPlanRepoInitializerTest.java
 
b/packageinit/src/test/java/org/apache/sling/jcr/packageinit/ExecutionPlanRepoInitializerTest.java
index 5dd457a..40f4157 100644
--- 
a/packageinit/src/test/java/org/apache/sling/jcr/packageinit/ExecutionPlanRepoInitializerTest.java
+++ 
b/packageinit/src/test/java/org/apache/sling/jcr/packageinit/ExecutionPlanRepoInitializerTest.java
@@ -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());
     }
 

Reply via email to