Browse Source

Update Mockito to 5.5.0

Closes gh-13810
Steve Riesenberg 1 year ago
parent
commit
d6ff58bb7f

+ 0 - 1
config/spring-security-config.gradle

@@ -80,7 +80,6 @@ dependencies {
 	testImplementation "org.hibernate.orm:hibernate-core"
 	testImplementation 'org.hsqldb:hsqldb'
 	testImplementation 'org.mockito:mockito-core'
-	testImplementation "org.mockito:mockito-inline"
 	testImplementation('org.seleniumhq.selenium:htmlunit-driver') {
 		exclude group: 'commons-logging', module: 'commons-logging'
 		exclude group: 'xml-apis', module: 'xml-apis'

+ 0 - 1
core/spring-security-core.gradle

@@ -27,7 +27,6 @@ dependencies {
 	testImplementation "org.junit.jupiter:junit-jupiter-params"
 	testImplementation "org.junit.jupiter:junit-jupiter-engine"
 	testImplementation "org.mockito:mockito-core"
-	testImplementation 'org.mockito:mockito-inline'
 	testImplementation "org.mockito:mockito-junit-jupiter"
 	testImplementation "org.springframework:spring-test"
 	testImplementation 'org.skyscreamer:jsonassert'

+ 1 - 1
dependencies/spring-security-dependencies.gradle

@@ -11,7 +11,7 @@ dependencies {
 	api platform("io.projectreactor:reactor-bom:$reactorVersion")
 	api platform("io.rsocket:rsocket-bom:1.1.4")
 	api platform("org.junit:junit-bom:5.10.0")
-	api platform("org.mockito:mockito-bom:4.11.0")
+	api platform("org.mockito:mockito-bom:5.5.0")
 	api platform("org.springframework.data:spring-data-bom:$springDataVersion")
 	api platform("org.jetbrains.kotlin:kotlin-bom:$kotlinDependencyVersion")
 	api platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.7.3")

+ 0 - 1
saml2/saml2-service-provider/spring-security-saml2-service-provider.gradle

@@ -22,7 +22,6 @@ dependencies {
 	testImplementation "org.junit.jupiter:junit-jupiter-params"
 	testImplementation "org.junit.jupiter:junit-jupiter-engine"
 	testImplementation "org.mockito:mockito-core"
-	testImplementation "org.mockito:mockito-inline"
 	testImplementation "org.mockito:mockito-junit-jupiter"
 	testImplementation "org.springframework:spring-test"
 }

+ 0 - 1
test/spring-security-test.gradle

@@ -27,7 +27,6 @@ dependencies {
 	testImplementation "org.junit.jupiter:junit-jupiter-params"
 	testImplementation "org.junit.jupiter:junit-jupiter-engine"
 	testImplementation "org.mockito:mockito-core"
-	testImplementation 'org.mockito:mockito-inline'
 	testImplementation "org.mockito:mockito-junit-jupiter"
 	testImplementation "org.springframework:spring-test"
 	testImplementation 'org.skyscreamer:jsonassert'

+ 0 - 1
web/spring-security-web.gradle

@@ -26,7 +26,6 @@ dependencies {
 	testImplementation 'jakarta.websocket:jakarta.websocket-client-api'
 	testImplementation 'org.hamcrest:hamcrest'
 	testImplementation 'org.mockito:mockito-core'
-	testImplementation 'org.mockito:mockito-inline'
 	testImplementation 'org.skyscreamer:jsonassert'
 	testImplementation 'org.springframework:spring-webflux'
 	testImplementation 'org.synchronoss.cloud:nio-multipart-parser'