Changeset 18410 in josm for trunk/test


Ignore:
Timestamp:
2022-03-22T20:26:02+01:00 (3 years ago)
Author:
taylor.smock
Message:

WMTSTileSourceTest: Output the actual url when {apikey} is not in the actual output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java

    r18381 r18410  
    453453            ImageryInfo testImageryWMTS = new ImageryInfo(testImagery12168);
    454454            testImageryWMTS.setUrl(testImageryWMTS.getUrl().replace(TestUtils.getTestDataRoot(), "{apikey}"));
    455             assertTrue(testImageryWMTS.getUrl().contains("{apikey}"));
     455            assertTrue(testImageryWMTS.getUrl().contains("{apikey}"), testImageryWMTS.getUrl());
    456456            testImageryWMTS.setId("WMTSTileSourceTest#testApiKeyValid");
    457457            WMTSTileSource ts = assertDoesNotThrow(() -> new WMTSTileSource(testImageryWMTS, ProjectionRegistry.getProjection()));
     
    471471            ImageryInfo testImageryWMTS = new ImageryInfo(testImagery12168);
    472472            testImageryWMTS.setUrl(testImageryWMTS.getUrl().replace(TestUtils.getTestDataRoot(), "{apikey}"));
    473             assertTrue(testImageryWMTS.getUrl().contains("{apikey}"));
     473            assertTrue(testImageryWMTS.getUrl().contains("{apikey}"), testImageryWMTS.getUrl());
    474474            testImageryWMTS.setId("WMTSTileSourceTest#testApiKeyInvalid");
    475475            org.openstreetmap.josm.data.projection.Projection projection = Projections.getProjectionByCode("EPSG:4326");
Note: See TracChangeset for help on using the changeset viewer.