This is an automated email from the ASF dual-hosted git repository.
rgupta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-kotlin.git
The following commit(s) were added to refs/heads/master by this push:
new 1dbfa99 LOG4J2-3401 Replaced
com.nhaarman.mockitokotlin2:mockito-kotlin with
org.mockito.kotlin:mockito-kotlin
new 583af6a Merge pull request #22 from breun/feature/LOG4J2-3401
1dbfa99 is described below
commit 1dbfa991a83582d08bc3a1004087b2291f2c381f
Author: Nils Breunese <[email protected]>
AuthorDate: Fri Feb 11 21:33:52 2022 +0100
LOG4J2-3401 Replaced com.nhaarman.mockitokotlin2:mockito-kotlin with
org.mockito.kotlin:mockito-kotlin
---
log4j-api-kotlin/pom.xml | 4 ++--
.../src/test/kotlin/org.apache.logging.log4j.kotlin/LoggerTest.kt | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/log4j-api-kotlin/pom.xml b/log4j-api-kotlin/pom.xml
index e201ffe..0498b56 100644
--- a/log4j-api-kotlin/pom.xml
+++ b/log4j-api-kotlin/pom.xml
@@ -81,9 +81,9 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>com.nhaarman.mockitokotlin2</groupId>
+ <groupId>org.mockito.kotlin</groupId>
<artifactId>mockito-kotlin</artifactId>
- <version>2.0.0</version>
+ <version>4.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/log4j-api-kotlin/src/test/kotlin/org.apache.logging.log4j.kotlin/LoggerTest.kt
b/log4j-api-kotlin/src/test/kotlin/org.apache.logging.log4j.kotlin/LoggerTest.kt
index fdc7481..ecd9fed 100644
---
a/log4j-api-kotlin/src/test/kotlin/org.apache.logging.log4j.kotlin/LoggerTest.kt
+++
b/log4j-api-kotlin/src/test/kotlin/org.apache.logging.log4j.kotlin/LoggerTest.kt
@@ -16,7 +16,6 @@
*/
package org.apache.logging.log4j.kotlin
-import com.nhaarman.mockitokotlin2.*
import org.apache.logging.log4j.Level
import org.apache.logging.log4j.MarkerManager
import org.apache.logging.log4j.junit.LoggerContextRule
@@ -25,6 +24,7 @@ import org.apache.logging.log4j.spi.ExtendedLogger
import org.junit.Rule
import org.junit.Test
import org.mockito.ArgumentMatchers.anyString
+import org.mockito.kotlin.*
import kotlin.test.assertFailsWith
import kotlin.test.assertTrue