1
0
mirror of synced 2026-08-05 01:36:56 +00:00

Fix mockito usage

Issue gh-13810
This commit is contained in:
Steve Riesenberg
2023-09-13 15:23:58 -05:00
parent d6ff58bb7f
commit d48b8697bd
3 changed files with 18 additions and 16 deletions
@@ -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>
@@ -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>