Ignore:
Timestamp:
2017-09-14T00:50:48+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - use Config in functional tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/io/OsmServerHistoryReaderTest.java

    r8622 r12850  
    77import org.junit.Test;
    88import org.openstreetmap.josm.JOSMFixture;
    9 import org.openstreetmap.josm.Main;
    109import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
    1110import org.openstreetmap.josm.data.osm.history.History;
    1211import org.openstreetmap.josm.data.osm.history.HistoryDataSet;
    1312import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
     13import org.openstreetmap.josm.spi.preferences.Config;
    1414
    1515/**
     
    2424    public static void init() {
    2525        JOSMFixture.createUnitTestFixture().init();
    26         Main.pref.put("osm-server.url", OsmApi.DEFAULT_API_URL);
     26        Config.getPref().put("osm-server.url", OsmApi.DEFAULT_API_URL);
    2727    }
    2828
Note: See TracChangeset for help on using the changeset viewer.