Tests: update path prefix in git urls When testing URLs, it is helpfull to distinguish between the base URL (which can contains a path prefix such as `/r`) and the application paths that is appended to it. Using `/foo` is a bit meaningless, replace it by `/path-prefix` which is self describing and helps differentiating between the base URL and the rest of the path. Change-Id: I91230750cc67b7a2876e4da7779a0b0e20f62639
diff --git a/javatests/com/google/gitiles/TestGitilesUrls.java b/javatests/com/google/gitiles/TestGitilesUrls.java index 29cc014..7f838ee 100644 --- a/javatests/com/google/gitiles/TestGitilesUrls.java +++ b/javatests/com/google/gitiles/TestGitilesUrls.java
@@ -28,12 +28,12 @@ @Override public String getBaseGitUrl(HttpServletRequest req) { - return "git://" + HOST_NAME + "/foo"; + return "git://" + HOST_NAME + "/path-prefix"; } @Override public String getBaseGerritUrl(HttpServletRequest req) { - return "http://" + HOST_NAME + "-review/foo/"; + return "http://" + HOST_NAME + "-review/path-prefix/"; } private TestGitilesUrls() {}