diff options
-rw-r--r-- | tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java b/tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java index 78108ddc1a4..991ef037cdb 100644 --- a/tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java +++ b/tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java @@ -78,7 +78,6 @@ public class UpgradeTest { checkSystemStatus(ServerStatusResponse.Status.UP); assertThat(countFiles(PROJECT_KEY)).isEqualTo(files); - browseWebapp(); scanProject(); assertThat(countFiles(PROJECT_KEY)).isEqualTo(files); browseWebapp(); @@ -92,9 +91,9 @@ public class UpgradeTest { private void browseWebapp() { testUrl("/"); - testUrl("/api/issues/search"); - testUrl("/api/components/tree"); - testUrl("/api/measures/component_tree?baseComponentKey=org.apache.struts%3Astruts-core"); + testUrl("/api/issues/search?projectKeys=org.apache.struts%3Astruts-core"); + testUrl("/api/components/tree?baseComponentKey=org.apache.struts%3Astruts-core"); + testUrl("/api/measures/component_tree?baseComponentKey=org.apache.struts%3Astruts-core&metricKeys=ncloc,files,violations"); testUrl("/api/qualityprofiles/search"); testUrl("/issues/index"); testUrl("/dashboard/index/org.apache.struts:struts-parent"); |