Use mockito-subclass 58/104558/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 23 Feb 2023 15:10:24 +0000 (16:10 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 23 Feb 2023 15:10:24 +0000 (16:10 +0100)
Reduce the workaround here to use mockito-subclass instead of forcing an
old mockito version.

Change-Id: Ibcf45b9101133f2c7852e404081b58c25cd3b888
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/pom.xml

index 56b01c647b8657b5cf503ec3ed346911f7954e0f..155d41f07e9f2529dcccc6a67abaaee1160485f5 100644 (file)
             <artifactId>org.osgi.service.component.annotations</artifactId>
         </dependency>
 
-        <!-- FIXME: we have a weird failure with 5.1.1 -->
+        <!-- FIXME: default mockito-inline does not seem to quite work -->
         <dependency>
             <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <version>4.11.0</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-junit-jupiter</artifactId>
-            <version>4.11.0</version>
+            <artifactId>mockito-subclass</artifactId>
             <scope>test</scope>
         </dependency>