aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/test
diff options
context:
space:
mode:
authorlukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com>2024-03-19 15:39:33 +0100
committersonartech <sonartech@sonarsource.com>2024-03-19 20:02:38 +0000
commit917a1f424307557ab9f6fbc2dcb1a8320774e511 (patch)
tree57d17709373e0da62038d15deae04116fc5eef50 /sonar-scanner-engine/src/test
parentf0217afa1856121b10c4a50d40b4038efb14b318 (diff)
downloadsonarqube-917a1f424307557ab9f6fbc2dcb1a8320774e511.tar.gz
sonarqube-917a1f424307557ab9f6fbc2dcb1a8320774e511.zip
SONAR-21857 fix ssf
Diffstat (limited to 'sonar-scanner-engine/src/test')
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/PluginFilesTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/PluginFilesTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/PluginFilesTest.java
index a252bbbe3a0..21d6b3c5317 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/PluginFilesTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/bootstrap/PluginFilesTest.java
@@ -65,7 +65,7 @@ public class PluginFilesTest {
@Before
public void setUp() throws Exception {
- HttpConnector connector = HttpConnector.newBuilder().url(server.url("/").toString()).build();
+ HttpConnector connector = HttpConnector.newBuilder().acceptGzip(true).url(server.url("/").toString()).build();
GlobalAnalysisMode analysisMode = new GlobalAnalysisMode(new ScannerProperties(Collections.emptyMap()));
DefaultScannerWsClient wsClient = new DefaultScannerWsClient(WsClientFactories.getDefault().newClient(connector), false,
analysisMode, analysisWarnings);