diff options
Diffstat (limited to 'test/tile')
-rw-r--r-- | test/tile/geojson_tile.test.cpp | 2 | ||||
-rw-r--r-- | test/tile/vector_tile.test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/tile/geojson_tile.test.cpp b/test/tile/geojson_tile.test.cpp index e2a026b560..46cbe209b6 100644 --- a/test/tile/geojson_tile.test.cpp +++ b/test/tile/geojson_tile.test.cpp @@ -49,7 +49,7 @@ TEST(GeoJSONTile, Issue7648) { observer.tileChanged = [&] (const Tile&) { // Once present, the bucket should never "disappear", which would cause // flickering. - ASSERT_NE(nullptr, tile.getBucket(*test.style.getLayer("circle"))); + ASSERT_NE(nullptr, tile.getBucket(*test.style.getRenderLayer("circle"))); }; tile.setObserver(&observer); diff --git a/test/tile/vector_tile.test.cpp b/test/tile/vector_tile.test.cpp index fc6e9b3a6d..26c5dac8c0 100644 --- a/test/tile/vector_tile.test.cpp +++ b/test/tile/vector_tile.test.cpp @@ -89,7 +89,7 @@ TEST(VectorTile, Issue7615) { 0 }); - EXPECT_EQ(symbolBucket.get(), tile.getBucket(symbolLayer)); + EXPECT_EQ(symbolBucket.get(), tile.getBucket(*symbolLayer.baseImpl->createRenderLayer())); } TEST(VectorTile, Issue8542) { |