aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-qa-util
diff options
context:
space:
mode:
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>2017-12-04 17:59:44 +0100
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>2017-12-06 14:40:17 +0100
commit7b767314a706c363ba466572d2fe8e7d46004b6a (patch)
treece5cc5c96e9f2223d7575e66414f1f5d63641346 /server/sonar-qa-util
parent460bb1a793ad325312c5d0644dbd3753d4835207 (diff)
downloadsonarqube-7b767314a706c363ba466572d2fe8e7d46004b6a.tar.gz
sonarqube-7b767314a706c363ba466572d2fe8e7d46004b6a.zip
Generate class WsClient in sonar-ws
Diffstat (limited to 'server/sonar-qa-util')
-rw-r--r--server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/QGateTester.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/QGateTester.java b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/QGateTester.java
index 66ef0f036db..a90e2f36925 100644
--- a/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/QGateTester.java
+++ b/server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/QGateTester.java
@@ -42,7 +42,7 @@ public class QGateTester {
}
public QualitygatesService service() {
- return session.wsClient().qualityGates();
+ return session.wsClient().qualitygates();
}
void deleteAll() {
@@ -55,7 +55,7 @@ public class QGateTester {
public Qualitygates.CreateResponse generate() {
int id = ID_GENERATOR.getAndIncrement();
- return session.wsClient().qualityGates().create(new CreateRequest().setName("QualityGate" + id));
+ return session.wsClient().qualitygates().create(new CreateRequest().setName("QualityGate" + id));
}
public void associateProject(Qualitygates.CreateResponse qualityGate, Project project){