Changeset 18410 in josm for trunk/test/unit
- Timestamp:
- 2022-03-22T20:26:02+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java
r18381 r18410 453 453 ImageryInfo testImageryWMTS = new ImageryInfo(testImagery12168); 454 454 testImageryWMTS.setUrl(testImageryWMTS.getUrl().replace(TestUtils.getTestDataRoot(), "{apikey}")); 455 assertTrue(testImageryWMTS.getUrl().contains("{apikey}") );455 assertTrue(testImageryWMTS.getUrl().contains("{apikey}"), testImageryWMTS.getUrl()); 456 456 testImageryWMTS.setId("WMTSTileSourceTest#testApiKeyValid"); 457 457 WMTSTileSource ts = assertDoesNotThrow(() -> new WMTSTileSource(testImageryWMTS, ProjectionRegistry.getProjection())); … … 471 471 ImageryInfo testImageryWMTS = new ImageryInfo(testImagery12168); 472 472 testImageryWMTS.setUrl(testImageryWMTS.getUrl().replace(TestUtils.getTestDataRoot(), "{apikey}")); 473 assertTrue(testImageryWMTS.getUrl().contains("{apikey}") );473 assertTrue(testImageryWMTS.getUrl().contains("{apikey}"), testImageryWMTS.getUrl()); 474 474 testImageryWMTS.setId("WMTSTileSourceTest#testApiKeyInvalid"); 475 475 org.openstreetmap.josm.data.projection.Projection projection = Projections.getProjectionByCode("EPSG:4326");
Note:
See TracChangeset
for help on using the changeset viewer.