fix powerMock and mockito versions mismatch 19/87219/6
authorAhmed Abbas <ahmad.helmy@orange.com>
Wed, 15 Jan 2020 01:20:34 +0000 (03:20 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Wed, 29 Jan 2020 14:08:19 +0000 (15:08 +0100)
this was causing failures in OLM PowerMgmtPowerMockTest Junit
and in OlmPowerServiceImplTest that is not completely fixed yet.

JIRA: TRNSPRTPCE-180
Change-Id: I0937f92c63a3999314dcb36ec0b02a65a46d5ff5
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
olm/pom.xml

index ea8e1fd2914ae295e0bf4e45dd70488614bee22b..fdb9df495d473111b192f146780d83361810af12 100644 (file)
@@ -30,14 +30,28 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <version>${project.version}</version>
     </dependency>
 
+    <dependency>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-core</artifactId>
+      <version>2.25.0</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.powermock</groupId>
+      <artifactId>powermock-core</artifactId>
+      <version>2.0.2</version>
+      <scope>test</scope>
+    </dependency>
     <dependency>
       <groupId>org.powermock</groupId>
       <artifactId>powermock-api-mockito2</artifactId>
+      <version>2.0.2</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.powermock</groupId>
       <artifactId>powermock-module-junit4</artifactId>
+      <version>2.0.2</version>
       <scope>test</scope>
     </dependency>