Skip to content

Commit

Permalink
Switch mockito-core to mockito-inline
Browse files Browse the repository at this point in the history
Switch mockito-core dependency to mockito-inline because
currently mockito-core is not supported fully java 17
mockito/mockito#2589

Signed-off-by: Peter Suna <peter.suna@pantheon.tech>
  • Loading branch information
PeterSuna committed Jun 1, 2022
1 parent 05d1afe commit c7329ab
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Expand Up @@ -45,7 +45,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Expand Up @@ -43,7 +43,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Expand Up @@ -39,7 +39,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Expand Up @@ -53,7 +53,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion lighty-core/lighty-controller/pom.xml
Expand Up @@ -201,7 +201,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion lighty-modules/integration-tests/pom.xml
Expand Up @@ -64,7 +64,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion lighty-modules/lighty-aaa-aggregator/lighty-aaa/pom.xml
Expand Up @@ -65,7 +65,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion lighty-modules/lighty-gnmi/lighty-gnmi-sb/pom.xml
Expand Up @@ -83,7 +83,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion lighty-modules/lighty-netconf-sb/pom.xml
Expand Up @@ -76,7 +76,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
</dependency>
<dependency>
<groupId>io.lighty.resources</groupId>
Expand Down
2 changes: 1 addition & 1 deletion lighty-modules/lighty-swagger/pom.xml
Expand Up @@ -48,7 +48,7 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit c7329ab

Please sign in to comment.