From 05677f8e3e0a0a281dd6adbbcbad9a4be7cfaea6 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 30 Nov 2017 17:46:24 +0100 Subject: [PATCH] Do not hardcode version of sonar-scanner in integration tests --- .../src/test/java/org/sonarqube/tests/analysis/RedirectTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/src/test/java/org/sonarqube/tests/analysis/RedirectTest.java b/tests/src/test/java/org/sonarqube/tests/analysis/RedirectTest.java index bdcac11098f..5682f9f4213 100644 --- a/tests/src/test/java/org/sonarqube/tests/analysis/RedirectTest.java +++ b/tests/src/test/java/org/sonarqube/tests/analysis/RedirectTest.java @@ -93,7 +93,6 @@ public class RedirectTest { public void testFollowRedirectWithAuthentication() { orchestrator.getServer(); SonarScanner sonarScanner = SonarScanner.create(ItUtils.projectDir("shared/xoo-sample")) - .setScannerVersion("2.7") .setProperty("sonar.host.url", "http://localhost:" + redirectPort) .setProperties( "sonar.login", com.sonar.orchestrator.container.Server.ADMIN_LOGIN, -- 2.39.5