aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/test
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-06-15 16:39:47 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-06-23 19:07:48 +0200
commit78e2ea2661c8e3bcf26932e33e04ec9a4327fc04 (patch)
treeef9411412b0a92a56ecc75f4f9e516609b0d28d5 /sonar-ws/src/test
parent8af2f37ed8c0594926adb33f6db91856625157b3 (diff)
downloadsonarqube-78e2ea2661c8e3bcf26932e33e04ec9a4327fc04.tar.gz
sonarqube-78e2ea2661c8e3bcf26932e33e04ec9a4327fc04.zip
Improve integration tests by using new Tester class
Diffstat (limited to 'sonar-ws/src/test')
-rw-r--r--sonar-ws/src/test/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesServiceTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws/src/test/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesServiceTest.java b/sonar-ws/src/test/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesServiceTest.java
index ae1d3c9c0f3..60052f0b4b4 100644
--- a/sonar-ws/src/test/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesServiceTest.java
+++ b/sonar-ws/src/test/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesServiceTest.java
@@ -132,7 +132,7 @@ public class QualityProfilesServiceTest {
@Test
public void delete() {
- underTest.delete(new DeleteRequest("sample"));
+ underTest.delete("sample");
serviceTester.assertThat(serviceTester.getPostRequest())
.hasPath("delete")