Skip to content

Commit ed21a45

Browse files
authored
update Mockito article (#107)
1 parent 7545b62 commit ed21a45

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mockito-tips-and-tricks/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Steps to run this project:
88

99
1. Clone this Git repository
1010
2. Navigate to the folder `mockito-tips-and-tricks`
11-
3. Build the project to run all the tests with `mvn package`
11+
3. Build the project to run all the tests with `./mvnw verify`

mockito-tips-and-tricks/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<kotlin.version>1.4.10</kotlin.version>
1515
<maven.compiler.source>11</maven.compiler.source>
1616
<maven.compiler.target>11</maven.compiler.target>
17-
<mockito.version>3.9.0</mockito.version>
18-
<mockito-kotlin.version>2.2.0</mockito-kotlin.version>
17+
<mockito.version>4.6.1</mockito.version>
18+
<mockito-kotlin.version>4.0.0</mockito-kotlin.version>
1919
<mockwebserver.version>4.8.0</mockwebserver.version>
2020
<okhttp3.version>4.8.0</okhttp3.version>
2121
</properties>
@@ -60,7 +60,7 @@
6060
<scope>test</scope>
6161
</dependency>
6262
<dependency>
63-
<groupId>com.nhaarman.mockitokotlin2</groupId>
63+
<groupId>org.mockito.kotlin</groupId>
6464
<artifactId>mockito-kotlin</artifactId>
6565
<version>${mockito-kotlin.version}</version>
6666
<scope>test</scope>

0 commit comments

Comments
 (0)