diff options
author | Eric Hartmann <hartmann.eric@gmail.com> | 2017-12-08 18:19:05 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-12-14 17:03:35 +0100 |
commit | 0976096bcedf7d54d49baee8ddf8ea2dfeedbcc7 (patch) | |
tree | 50b7431d962c66498c7d5b48e5959f9a3313e556 /server/sonar-qa-util | |
parent | a92d72fb2520c402a5765f09a6b7c9730d8d3330 (diff) | |
download | sonarqube-0976096bcedf7d54d49baee8ddf8ea2dfeedbcc7.tar.gz sonarqube-0976096bcedf7d54d49baee8ddf8ea2dfeedbcc7.zip |
SONAR-10134 Fix test on QualityGateDao
Diffstat (limited to 'server/sonar-qa-util')
-rw-r--r-- | server/sonar-qa-util/src/main/java/org/sonarqube/qa/util/QGateTester.java | 1 |
1 files changed, 1 insertions, 0 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 86c330bee29..87eeca9a8da 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 @@ -57,6 +57,7 @@ public class QGateTester { } session.wsClient().qualitygates().list().getQualitygatesList().stream() .filter(qualityGate -> !qualityGate.getIsDefault()) + .filter(qualityGate -> !qualityGate.getIsBuiltIn()) .forEach(qualityGate -> session.wsClient().qualitygates().destroy(new DestroyRequest().setId(Long.toString(qualityGate.getId())))); } |