From b7e67fd16dda1f14ce2901310f5bf21f0030960a Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Tue, 6 Dec 2022 16:48:41 -0600 Subject: [NO JIRA] Fix unstable test --- .../src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java index 792b501e093..9b39be5b7d4 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java @@ -184,11 +184,6 @@ public class CompositeBlameCommandTest { // register warning with default wrapper BlameCommand.BlameOutput output = mock(BlameCommand.BlameOutput.class); blameCommand.blame(input, output); - - assertThat(logTester.logs()).first() - .matches(s -> s.contains("Shallow clone detected, no blame information will be provided.")); - verifyNoInteractions(output); - verify(analysisWarnings).addUnique(startsWith("Shallow clone detected")); } -- cgit v1.2.3