Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d3434a5

Browse files
authoredJan 15, 2023
chore: update mockito to v5 (CloudNetService#1071)
1 parent 6b9cd6d commit d3434a5

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed
 

‎build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ subprojects {
7575
// annotations
7676
"compileOnly"(rootProject.libs.annotations)
7777
// testing
78+
"testImplementation"(rootProject.libs.mockito)
7879
"testImplementation"(rootProject.libs.bundles.junit)
79-
"testImplementation"(rootProject.libs.bundles.mockito)
8080
"testImplementation"(rootProject.libs.bundles.testContainers)
8181
}
8282

‎driver/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker

-1
This file was deleted.

‎gradle/libs.versions.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ guava = "31.1-jre"
1414

1515
# testing
1616
junit = "5.9.1"
17-
mockito = "4.11.0"
17+
mockito = "5.0.0"
1818
tyrusClient = "2.1.2"
1919
testcontainers = "1.17.6"
2020

@@ -108,7 +108,6 @@ junitParams = { group = "org.junit.jupiter", name = "junit-jupiter-params", vers
108108
junitEngine = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "junit" }
109109

110110
# general testing
111-
mockitoInline = { group = "org.mockito", name = "mockito-inline", version.ref = "mockito" }
112111
mockito = { group = "org.mockito", name = "mockito-junit-jupiter", version.ref = "mockito" }
113112
tyrus = { group = "org.glassfish.tyrus.bundles", name = "tyrus-standalone-client", version.ref = "tyrusClient" }
114113

@@ -186,7 +185,6 @@ fabricLoader = { group = "net.fabricmc", name = "fabric-loader", version.ref = "
186185
aerogel = ["aerogel", "aerogelAuto"]
187186
npcLib = ["npcLib", "npcLibLabymod"]
188187
unirest = ["unirest", "unirestGson"]
189-
mockito = ["mockito", "mockitoInline"]
190188
mysql = ["mysqlConnector", "hikariCp"]
191189
cloud = ["cloudCore", "cloudAnnotations"]
192190
netty = ["nettyHandler", "nettyCodecHttp"]

0 commit comments

Comments
 (0)