Update to Mockito 2.10.0
Issue: gh-4608
This commit is contained in:
@@ -30,7 +30,7 @@ dependencies {
|
||||
testCompile project(path : ':spring-security-core', configuration : 'tests')
|
||||
testCompile project(path : ':spring-security-webflux', configuration : 'tests')
|
||||
testCompile apachedsDependencies
|
||||
testCompile powerMockDependencies
|
||||
testCompile powerMock2Dependencies
|
||||
testCompile spockDependencies
|
||||
testCompile 'ch.qos.logback:logback-classic'
|
||||
testCompile 'javax.annotation:jsr250-api:1.0'
|
||||
|
||||
+1
-1
@@ -91,7 +91,7 @@ public class SecurityNamespaceHandlerTests {
|
||||
|
||||
handler.init();
|
||||
|
||||
verifyStatic();
|
||||
verifyStatic(ClassUtils.class);
|
||||
ClassUtils.forName(eq(FILTER_CHAIN_PROXY_CLASSNAME), any(ClassLoader.class));
|
||||
verifyZeroInteractions(logger);
|
||||
}
|
||||
|
||||
+1
-1
@@ -104,7 +104,7 @@ public class SessionManagementConfigurerServlet31Tests {
|
||||
|
||||
springSecurityFilterChain.doFilter(request, response, chain);
|
||||
|
||||
verifyStatic();
|
||||
verifyStatic(ReflectionUtils.class);
|
||||
ReflectionUtils.invokeMethod(same(method), any(HttpServletRequest.class));
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -104,7 +104,7 @@ public class SessionManagementConfigServlet31Tests {
|
||||
|
||||
springSecurityFilterChain.doFilter(request, response, chain);
|
||||
|
||||
verifyStatic();
|
||||
verifyStatic(ReflectionUtils.class);
|
||||
ReflectionUtils.invokeMethod(same(method), any(HttpServletRequest.class));
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ public class SessionManagementConfigServlet31Tests {
|
||||
|
||||
springSecurityFilterChain.doFilter(request, response, chain);
|
||||
|
||||
verifyStatic();
|
||||
verifyStatic(ReflectionUtils.class);
|
||||
ReflectionUtils.invokeMethod(same(method), any(HttpServletRequest.class));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user