Skip to content

Commit

Permalink
Tests: clean up non-working tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Jun 18, 2024
1 parent d967111 commit f5da6a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ TEST_CASE("GDAL")
CHECKED_IF(layer != nullptr)
{
layer->setName("World imagery");
layer->setURI("D:/data/imagery/world.tif");
layer->setConnection("WMTS:https://tiles.maps.eox.at/wmts/1.0.0/WMTSCapabilities.xml,layer=s2cloudless-2020");
auto s = layer->open();
CHECK(s.ok());
}
Expand Down Expand Up @@ -766,7 +766,8 @@ TEST_CASE("Earth File")
{
auto tms_layer = TMSImageLayer::cast(layer1);
CHECK(tms_layer);
CHECK(tms_layer->uri == "http://readymap.org/readymap/tiles/1.0.0/7/");
CHECK(tms_layer->uri.has_value());
CHECK(tms_layer->uri.value() == "https://readymap.org/readymap/tiles/1.0.0/7/");
}
}
}
Expand Down

0 comments on commit f5da6a7

Please sign in to comment.