Skip to content

Commit 6610a6a

Browse files
committed
[tests] Bump mockito to 5.2.0 and continue using mockito subclass mocking
1 parent 04a962c commit 6610a6a

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2010-2022 the original author or authors.
4+
Copyright 2010-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -233,7 +233,13 @@
233233
<dependency>
234234
<groupId>org.mockito</groupId>
235235
<artifactId>mockito-core</artifactId>
236-
<version>4.9.0</version>
236+
<version>5.2.0</version>
237+
<scope>test</scope>
238+
</dependency>
239+
<dependency>
240+
<groupId>org.mockito</groupId>
241+
<artifactId>mockito-subclass</artifactId>
242+
<version>5.2.0</version>
237243
<scope>test</scope>
238244
</dependency>
239245

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 the original author or authors.
2+
* Copyright 2010-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mock-maker-subclass

0 commit comments

Comments
 (0)