Fix mockito usage
Issue gh-13810
This commit is contained in:
+2
-2
@@ -21,8 +21,8 @@
|
||||
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<b:bean id="csrfTokenRepository" class="org.mockito.Mockito" factory-method="mock">
|
||||
<b:constructor-arg value="org.springframework.security.web.csrf.CsrfTokenRepository"/>
|
||||
<b:constructor-arg value="csrfTokenRepository"/>
|
||||
<b:constructor-arg value="org.springframework.security.web.csrf.CsrfTokenRepository" type="java.lang.Class"/>
|
||||
<b:constructor-arg value="csrfTokenRepository" type="java.lang.String"/>
|
||||
</b:bean>
|
||||
|
||||
</b:beans>
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@
|
||||
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<b:bean id="requestMatcher" class="org.mockito.Mockito" factory-method="mock">
|
||||
<b:constructor-arg value="org.springframework.security.web.util.matcher.RequestMatcher"/>
|
||||
<b:constructor-arg value="requestMatcher"/>
|
||||
<b:constructor-arg value="org.springframework.security.web.util.matcher.RequestMatcher" type="java.lang.Class"/>
|
||||
<b:constructor-arg value="requestMatcher" type="java.lang.String"/>
|
||||
</b:bean>
|
||||
</b:beans>
|
||||
|
||||
Reference in New Issue
Block a user