Index: /trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java	(revision 17884)
+++ /trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java	(revision 17885)
@@ -115,5 +115,5 @@
         pref.enableSaveOnPut(false);
         I18n.init();
-        // initialize the plaform hook, and
+        // initialize the platform hook, and
         // call the really early hook before we anything else
         PlatformManager.getPlatform().preStartupHook();
@@ -121,5 +121,5 @@
         Logging.setLogLevel(Logging.LEVEL_INFO);
         pref.init(false);
-        String url = Config.getPref().get("osm-server.url");
+        String url = OsmApi.getOsmApi().getServerUrl();
         if (url == null || url.isEmpty() || isProductionApiUrl(url)) {
             Config.getPref().put("osm-server.url", "https://api06.dev.openstreetmap.org/api");
