aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-06-14 08:29:58 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-06-14 14:43:10 +0200
commitf410dd2ba64a1b4047bb0d62a71520bfe4c8f1eb (patch)
tree44dcf2132a9e4bc0fe0ce77b1e8e1387f7489895 /tests
parent91f7587717a9fe3137e3f46f3b6eb6120cc6437c (diff)
downloadsonarqube-f410dd2ba64a1b4047bb0d62a71520bfe4c8f1eb.tar.gz
sonarqube-f410dd2ba64a1b4047bb0d62a71520bfe4c8f1eb.zip
SONAR-9387 Fix usage of /dashboard/index/<PROJECT_KEY> in notification
Replace usage of /dashboard/index/<PROJECT_KEY> by /dashboard?id=<PROJECT_KEY>
Diffstat (limited to 'tests')
-rw-r--r--tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/WebTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/WebTest.java b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/WebTest.java
index 658e2c57ab7..3545682b2fc 100644
--- a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/WebTest.java
+++ b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/WebTest.java
@@ -23,11 +23,11 @@ import com.github.kevinsawicki.http.HttpRequest;
import com.sonar.orchestrator.Orchestrator;
import com.sonar.orchestrator.build.MavenBuild;
import com.sonar.orchestrator.locator.FileLocation;
-import org.junit.Ignore;
-import org.sonarsource.sonarqube.perf.PerfTestCase;
import org.junit.BeforeClass;
import org.junit.ClassRule;
+import org.junit.Ignore;
import org.junit.Test;
+import org.sonarsource.sonarqube.perf.PerfTestCase;
import static org.junit.Assert.fail;
@@ -98,7 +98,7 @@ public class WebTest extends PerfTestCase {
@Test
public void struts_dashboard() throws Exception {
- PageStats counters = request("/dashboard/index/org.apache.struts:struts-parent?name=Custom");
+ PageStats counters = request("/dashboard?id=org.apache.struts:struts-parent?name=Custom");
assertDurationLessThan(counters.durationMs, 400);
}