aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-07-23 13:20:05 +0200
committerSonarTech <sonartech@sonarsource.com>2019-07-30 20:24:28 +0200
commit8d54befbab56cd1ba14df08456539b6fdb2561ad (patch)
tree37775b046d379b49e92e49be5b18dbac7415ba8d /server/sonar-server
parentc310acf604a82a9cc6c9d9af6afe2d22271be2cb (diff)
downloadsonarqube-8d54befbab56cd1ba14df08456539b6fdb2561ad.tar.gz
sonarqube-8d54befbab56cd1ba14df08456539b6fdb2561ad.zip
SONAR-11722 webhook posttask adds log statistics
Diffstat (limited to 'server/sonar-server')
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/webhook/WebhookQGChangeEventListenerTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/webhook/WebhookQGChangeEventListenerTest.java b/server/sonar-server/src/test/java/org/sonar/server/webhook/WebhookQGChangeEventListenerTest.java
index 4f43a4fc05f..4fb435e8024 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/webhook/WebhookQGChangeEventListenerTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/webhook/WebhookQGChangeEventListenerTest.java
@@ -35,7 +35,6 @@ import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
-import org.mockito.ArgumentMatchers;
import org.mockito.Mockito;
import org.sonar.api.config.Configuration;
import org.sonar.api.measures.Metric;
@@ -239,7 +238,7 @@ public class WebhookQGChangeEventListenerTest {
supplier.get();
return null;
}).when(webHooks)
- .sendProjectAnalysisUpdate(ArgumentMatchers.any(), ArgumentMatchers.any());
+ .sendProjectAnalysisUpdate(any(), any());
}
private void insertPropertiesFor(String snapshotUuid, Map<String, String> properties) {