Changeset 17885 in josm for trunk/test/unit
- Timestamp:
- 2021-05-12T23:31:51+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
r17275 r17885 115 115 pref.enableSaveOnPut(false); 116 116 I18n.init(); 117 // initialize the pla form hook, and117 // initialize the platform hook, and 118 118 // call the really early hook before we anything else 119 119 PlatformManager.getPlatform().preStartupHook(); … … 121 121 Logging.setLogLevel(Logging.LEVEL_INFO); 122 122 pref.init(false); 123 String url = Config.getPref().get("osm-server.url");123 String url = OsmApi.getOsmApi().getServerUrl(); 124 124 if (url == null || url.isEmpty() || isProductionApiUrl(url)) { 125 125 Config.getPref().put("osm-server.url", "https://api06.dev.openstreetmap.org/api");
Note:
See TracChangeset
for help on using the changeset viewer.