File tree Expand file tree Collapse file tree
src/test/java/com/cronutils/parser Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 <properties >
6262 <slf4j .version>2.0.7</slf4j .version>
6363 <junit .version>5.8.1</junit .version>
64- <mockito .version>5.2 .0</mockito .version>
64+ <mockito .version>4.11 .0</mockito .version>
6565
6666 <github .global.server>github</github .global.server>
6767 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
119119 <dependency >
120120 <groupId >org.springframework</groupId >
121121 <artifactId >spring-context</artifactId >
122- <version >6.0.7 </version >
122+ <version >5.3.26 </version >
123123 <scope >test</scope >
124124 </dependency >
125125
Original file line number Diff line number Diff line change 2121import org .junit .jupiter .api .BeforeEach ;
2222import org .junit .jupiter .api .Disabled ;
2323import org .junit .jupiter .api .Test ;
24- import org .mockito .Matchers ;
24+ import org .mockito .ArgumentMatchers ;
2525import org .mockito .Mock ;
2626import org .mockito .MockedConstruction ;
2727import org .mockito .Mockito ;
@@ -51,7 +51,7 @@ public void setUp() throws Exception {
5151 testFieldName = CronFieldName .SECOND ;
5252
5353 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 );
5555 mockParser = mock ;
5656 });
5757
You can’t perform that action at this time.
0 commit comments