Skip to content

Commit c928467

Browse files
committed
[test] Remove mockito extension as it did not work
1 parent 1da1624 commit c928467

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,6 @@
236236
<version>5.2.0</version>
237237
<scope>test</scope>
238238
</dependency>
239-
<dependency>
240-
<groupId>org.mockito</groupId>
241-
<artifactId>mockito-junit-jupiter</artifactId>
242-
<version>5.2.0</version>
243-
<scope>test</scope>
244-
</dependency>
245239

246240
<dependency>
247241
<groupId>org.assertj</groupId>

src/test/java/org/mybatis/spring/sample/SampleSqlSessionTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
import static org.assertj.core.api.Assertions.assertThat;
1919

2020
import org.junit.jupiter.api.Test;
21-
import org.junit.jupiter.api.extension.ExtendWith;
22-
import org.mockito.junit.jupiter.MockitoExtension;
2321
import org.mybatis.spring.sample.domain.User;
2422
import org.mybatis.spring.sample.service.BarService;
2523
import org.springframework.beans.factory.annotation.Autowired;
@@ -30,7 +28,6 @@
3028
* Example of basic MyBatis-Spring integration usage with a manual DAO implementation that subclasses
3129
* SqlSessionDaoSupport.
3230
*/
33-
@ExtendWith(MockitoExtension.class)
3431
@DirtiesContext
3532
@SpringJUnitConfig(locations = { "classpath:org/mybatis/spring/sample/config/applicationContext-sqlsession.xml" })
3633
class SampleSqlSessionTest {

0 commit comments

Comments
 (0)