File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/test/java/org/mybatis/spring/sample/config Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
3
4
- Copyright 2010-2022 the original author or authors.
4
+ Copyright 2010-2023 the original author or authors.
5
5
6
6
Licensed under the Apache License, Version 2.0 (the "License");
7
7
you may not use this file except in compliance with the License.
29
29
<import resource =" classpath:org/mybatis/spring/sample/config/applicationContext-infrastructure.xml" />
30
30
31
31
<!-- Mock for preventing bean creation error -->
32
- <bean id =" userMapper" class =" org.mockito.Mockito" factory-method =" mock" >
33
- <constructor-arg value =" org.mybatis.spring.sample.mapper.UserMapper" />
32
+ <bean id =" userMapper" name =" userMapper" class =" org.mockito.Mockito" factory-method =" mock" >
33
+ <constructor-arg >
34
+ <value type =" java.lang.Class" >org.mybatis.spring.sample.mapper.UserMapper</value >
35
+ </constructor-arg >
34
36
</bean >
35
37
36
38
<!-- Classic DAO pattern built with an interface and an implementation. -->
You can’t perform that action at this time.
0 commit comments