Ignore:
Timestamp:
2015-07-27T15:20:09+02:00 (9 years ago)
Author:
bastiK
Message:

fix unit test: preference file is read-only

File:
1 edited

Legend:

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

    r7937 r8622  
    66import org.junit.BeforeClass;
    77import org.junit.Test;
     8import org.openstreetmap.josm.JOSMFixture;
    89import org.openstreetmap.josm.Main;
    910import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
     
    2223    @BeforeClass
    2324    public static void init() {
    24         Main.initApplicationPreferences();
     25        JOSMFixture.createUnitTestFixture().init();
    2526        Main.pref.put("osm-server.url", OsmApi.DEFAULT_API_URL);
    2627    }
Note: See TracChangeset for help on using the changeset viewer.