Ignore:
Timestamp:
2020-02-17T15:07:01+01:00 (5 years ago)
Author:
donvip
Message:

see #josm18440 / #josm18726 - switch to {apikey}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/test/org/openstreetmap/gui/jmapviewer/tilesources/TemplatedTMSTileSourceTest.java

    r35320 r35329  
    111111    public void testGetTileUrl_apiKey() {
    112112        System.setProperty("id1.api-key", "wololo");
    113         TileSourceInfo testImageryTMS = new TileSourceInfo("test imagery", "http://localhost/{zoom}/{x}/{y}?token={apiKey}&foo=bar", "id1");
     113        TileSourceInfo testImageryTMS = new TileSourceInfo("test imagery", "http://localhost/{zoom}/{x}/{y}?token={apikey}&foo=bar", "id1");
    114114        TemplatedTMSTileSource ts = new TemplatedTMSTileSource(testImageryTMS);
    115115        assertEquals("http://localhost/1/2/3?token=wololo&foo=bar", ts.getTileUrl(1, 2, 3));
Note: See TracChangeset for help on using the changeset viewer.