Skip to content

Commit

Permalink
fixing Mockito initialization issue (#443)
Browse files Browse the repository at this point in the history
Signed-off-by: Chenyang Ji <[email protected]>
Co-authored-by: Chenyang Ji <[email protected]>
  • Loading branch information
ansjcy and ansjcy authored Jul 10, 2023
1 parent 3a70620 commit bb56be4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,11 @@ dependencies {
// JDK9+ has to run powermock 2+. https://github.com/powermock/powermock/issues/888
testImplementation group: 'org.powermock', name: 'powermock-api-mockito2', version: '2.0.0'
testImplementation group: 'org.powermock', name: 'powermock-module-junit4', version: '2.0.0'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.23.0'
implementation("org.mockito:mockito-core") {
version {
strictly "2.23.0"
}
}
testImplementation group: 'org.powermock', name: 'powermock-core', version: '2.0.0'
testImplementation group: 'org.powermock', name: 'powermock-api-support', version: '2.0.0'
testImplementation group: 'org.powermock', name: 'powermock-module-junit4-common', version: '2.0.0'
Expand Down

0 comments on commit bb56be4

Please sign in to comment.