Changeset 18452 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2022-05-17T00:33:50+02:00 (2 years ago)
Author:
taylor.smock
Message:

Drop use of abc from tile.openstreetmap.org urls (patch by Firefishy)

See GitHub #93.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandlerTest.java

    r18037 r18452  
    8686        String url = "https://localhost/imagery?title=osm"
    8787                + "&type=tms&min_zoom=3&max_zoom=23&category=osmbasedmap&country_code=XA"
    88                 + "&url=https://a.tile.openstreetmap.org/%7Bzoom%7D/%7Bx%7D/%7By%7D.png";
     88                + "&url=https://tile.openstreetmap.org/%7Bzoom%7D/%7Bx%7D/%7By%7D.png";
    8989        ImageryInfo imageryInfo = newHandler(url).buildImageryInfo();
    9090        assertEquals("osm", imageryInfo.getName());
    9191        assertEquals(ImageryInfo.ImageryType.TMS, imageryInfo.getImageryType());
    92         assertEquals("https://a.tile.openstreetmap.org/{zoom}/{x}/{y}.png", imageryInfo.getUrl());
     92        assertEquals("https://tile.openstreetmap.org/{zoom}/{x}/{y}.png", imageryInfo.getUrl());
    9393        assertEquals(3, imageryInfo.getMinZoom());
    9494        assertEquals(23, imageryInfo.getMaxZoom());
Note: See TracChangeset for help on using the changeset viewer.