This is an automated email from the ASF dual-hosted git repository. cziegeler pushed a commit to branch appmod/java-upgrade-20250910060318 in repository https://gitbox.apache.org/repos/asf/sling-samples.git
commit ab03de8a94136f37c500e4b88a73eaee9110dca3 Author: Carsten Ziegeler <[email protected]> AuthorDate: Wed Sep 10 09:20:47 2025 +0200 Fix Mockito import for version 5.x compatibility --- .../java/org/apache/sling/sample/slingshot/impl/SetupServiceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slingshot/src/test/java/org/apache/sling/sample/slingshot/impl/SetupServiceTest.java b/slingshot/src/test/java/org/apache/sling/sample/slingshot/impl/SetupServiceTest.java index 540f2bc..227a84c 100644 --- a/slingshot/src/test/java/org/apache/sling/sample/slingshot/impl/SetupServiceTest.java +++ b/slingshot/src/test/java/org/apache/sling/sample/slingshot/impl/SetupServiceTest.java @@ -39,7 +39,7 @@ import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import static org.mockito.Matchers.anyString; +import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when;
