Skip to content

Commit e987661

Browse files
Fix CI
1 parent 82fed0b commit e987661

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

tests/testthat/_snaps/get_stac_data.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/testthat/test-get_stac_data.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,16 @@ test_that("warning (but not error) fires if `mask_band` is not NULL with NULL `m
200200
aoi <- sf::st_set_crs(sf::st_sfc(aoi), 4326)
201201
aoi <- sf::st_buffer(sf::st_transform(aoi, 3857), 100)
202202

203-
expect_snapshot(
203+
expect_warning(
204204
x <- get_landsat_imagery(
205205
aoi = aoi,
206206
start_date = "2022-06-01",
207207
end_date = "2022-08-01",
208208
mask_function = NULL,
209209
rescale_bands = FALSE,
210210
output_filename = tempfile(fileext = ".tif")
211-
)
211+
),
212+
class = "rsi_ignored_mask_band"
212213
)
213214
})
214215

0 commit comments

Comments
 (0)