File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/test/java/com/cronutils/parser Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 61
61
<properties >
62
62
<slf4j .version>2.0.7</slf4j .version>
63
63
<junit .version>5.8.1</junit .version>
64
- <mockito .version>5.2 .0</mockito .version>
64
+ <mockito .version>4.11 .0</mockito .version>
65
65
66
66
<github .global.server>github</github .global.server>
67
67
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
119
119
<dependency >
120
120
<groupId >org.springframework</groupId >
121
121
<artifactId >spring-context</artifactId >
122
- <version >6.0.7 </version >
122
+ <version >5.3.26 </version >
123
123
<scope >test</scope >
124
124
</dependency >
125
125
Original file line number Diff line number Diff line change 21
21
import org .junit .jupiter .api .BeforeEach ;
22
22
import org .junit .jupiter .api .Disabled ;
23
23
import org .junit .jupiter .api .Test ;
24
- import org .mockito .Matchers ;
24
+ import org .mockito .ArgumentMatchers ;
25
25
import org .mockito .Mock ;
26
26
import org .mockito .MockedConstruction ;
27
27
import org .mockito .Mockito ;
@@ -51,7 +51,7 @@ public void setUp() throws Exception {
51
51
testFieldName = CronFieldName .SECOND ;
52
52
53
53
mockedConstruction = Mockito .mockConstruction (FieldParser .class , (mock , context ) -> {
54
- Mockito .when (mock .parse (Matchers .anyString ())).thenReturn (mockParseResponse );
54
+ Mockito .when (mock .parse (ArgumentMatchers .anyString ())).thenReturn (mockParseResponse );
55
55
mockParser = mock ;
56
56
});
57
57
You can’t perform that action at this time.
0 commit comments