Index: applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/oauth/OAuthPortListenerTest.java
===================================================================
--- applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/oauth/OAuthPortListenerTest.java	(revision 31799)
+++ applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/oauth/OAuthPortListenerTest.java	(revision 31807)
@@ -34,5 +34,5 @@
     }
     try {
-      URL url = new URL("http://localhost:8763?access_token=access_token");
+      URL url = new URL("http://localhost:"+OAuthPortListener.PORT+"?access_token=access_token");
       HttpURLConnection con = (HttpURLConnection) url.openConnection();
       BufferedReader in = new BufferedReader(new InputStreamReader(
