Ignore:
Timestamp:
2020-10-13T22:31:09+02:00 (4 years ago)
Author:
simon04
Message:

see #15102 - see #16637 - Use WireMockServer.url()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/plugin/PluginPreferenceHighLevelTest.java

    r16161 r17195  
    8888        Config.getPref().put("pluginmanager.lastupdate", "999");
    8989        Config.getPref().putList("pluginmanager.sites",
    90             Collections.singletonList(String.format("http://localhost:%s/plugins", this.pluginServerRule.port()))
     90            Collections.singletonList(this.pluginServerRule.url("/plugins"))
    9191        );
    9292
     
    835835            new PluginServer.RemotePlugin(this.referenceDummyJarNew),
    836836            new PluginServer.RemotePlugin(this.referenceBazJarNew, Collections.singletonMap(
    837                 "6800_Plugin-Url", "6;http://localhost:" + this.pluginServerRule.port() + bazOldServePath
     837                "6800_Plugin-Url", "6;" + this.pluginServerRule.url(bazOldServePath)
    838838            ))
    839839        );
Note: See TracChangeset for help on using the changeset viewer.