Ignore:
Timestamp:
2018-08-11T16:10:32+02:00 (3 years ago)
Author:
Don-vip
Message:

see #15229 - deprecate all Main methods returning an URL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/server/ApiUrlTestTaskTest.java

    r10980 r14119  
    1111import org.junit.Rule;
    1212import org.junit.Test;
    13 import org.openstreetmap.josm.io.OsmApi;
     13import org.openstreetmap.josm.spi.preferences.Config;
    1414import org.openstreetmap.josm.testutils.JOSMTestRules;
    1515
     
    4343    @Test
    4444    public void testNominalUrl() {
    45         ApiUrlTestTask task = new ApiUrlTestTask(PARENT, OsmApi.DEFAULT_API_URL);
     45        ApiUrlTestTask task = new ApiUrlTestTask(PARENT, Config.getUrls().getDefaultOsmApiUrl());
    4646        task.run();
    4747        assertTrue(task.isSuccess());
Note: See TracChangeset for help on using the changeset viewer.