import org.mockito.ArgumentMatcher;
import org.mockito.Mockito;
import org.slf4j.event.Level;
-import org.sonar.api.utils.MessageException;
import org.sonar.api.testfixtures.log.LogTester;
+import org.sonar.api.utils.MessageException;
import org.sonar.scanner.bootstrap.DefaultScannerWsClient;
import org.sonar.scanner.bootstrap.GlobalAnalysisMode;
import org.sonar.scanner.report.CeTaskReportDataHolder;
underTest.stop();
- assertThat(logTester.logs())
- .containsOnly(
+ assertThat(logTester.logs(Level.INFO))
+ .contains(
"Waiting for the analysis report to be processed (max 5s)",
"QUALITY GATE STATUS: PASSED - View details on http://dashboard-url.com");
}