From 1f78e2fbd749582c918e29a9b1496ee88872bdad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Mon, 1 Mar 2021 09:22:56 +0100 Subject: [PATCH] Suppress irrelevant warning --- .../sonia/scm/update/RepositoryUpdateAfterCreationHookTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/scm-webapp/src/test/java/sonia/scm/update/RepositoryUpdateAfterCreationHookTest.java b/scm-webapp/src/test/java/sonia/scm/update/RepositoryUpdateAfterCreationHookTest.java index 8333450779..9444ea1118 100644 --- a/scm-webapp/src/test/java/sonia/scm/update/RepositoryUpdateAfterCreationHookTest.java +++ b/scm-webapp/src/test/java/sonia/scm/update/RepositoryUpdateAfterCreationHookTest.java @@ -43,6 +43,7 @@ class RepositoryUpdateAfterCreationHookTest { private static final Repository REPOSITORY = new Repository("1", "git", "space", "X"); @Test + @SuppressWarnings("java:S6073") // this is a false positive (sonar seems not to detect the 'argThat' in the method) void shouldSetHighestVersion() { UpdateStepStore updateStepStore = mock(UpdateStepStore.class);