Yi EungJun 2014-11-25
test: Fix url encoding bug
The test failed since Play 2.2.6 is introduced because of encoding
problem that "%2F" is encoded to "%252F" unintetionally in url.
@a536282e33b3f1e0cd31282a42736480db981c03
test/actors/CommitsNotificationActorTest.java
--- test/actors/CommitsNotificationActorTest.java
+++ test/actors/CommitsNotificationActorTest.java
@@ -38,7 +38,7 @@
         // Given
         String ownerLoginid = "whiteship";
         String proejctName = "yobi";
-        String branchName = URLEncoder.encode("refs/heads/feature/review", "UTF-8");
+        String branchName = "refs/heads/feature/review";
 
         // When
         String url = routes.CodeApp.codeBrowserWithBranch(ownerLoginid, proejctName, branchName, "").url();
Add a comment
List