aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-09-29 14:54:07 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-10-12 10:48:47 +0200
commit3ac0e9be3fc589b4c8b7dd8e2468638b9b84ca32 (patch)
treebf63039b10e94ee6622d751d52a1df25640e45e7 /sonar-ws
parent4a4cf450893ad82d03460e2de1036c9f03ae1fc1 (diff)
downloadsonarqube-3ac0e9be3fc589b4c8b7dd8e2468638b9b84ca32.tar.gz
sonarqube-3ac0e9be3fc589b4c8b7dd8e2468638b9b84ca32.zip
SONAR-8151 test WS organizations authorizations in IT
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java
index df2e355e65b..ad3cd7beaf7 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java
@@ -69,6 +69,6 @@ public class OrganizationService extends BaseService {
PostRequest post = new PostRequest(path("delete"))
.setParam("key", key);
- call(post);
+ call(post).failIfNotSuccessful();
}
}