diff --git a/tests/testthat/test-send_sparql.R b/tests/testthat/test-send_sparql.R index 71a0cf4..0bfb639 100644 --- a/tests/testthat/test-send_sparql.R +++ b/tests/testthat/test-send_sparql.R @@ -99,9 +99,10 @@ test_that("httr2 options", { }) test_that("deprecation", { + rlang::local_options(lifecycle_verbosity = "warning") httptest2::with_mock_dir("hal-dryrun", { expect_snapshot({ - spq_init(endpoint = "hal") %>% + req <- spq_init(endpoint = "hal") %>% spq_add("haldoc:inria-00362381 dcterms:hasVersion ?version") %>% spq_add("?version ?p ?object") %>% spq_head(5) %>% @@ -114,6 +115,7 @@ test_that("deprecation", { timeout = 20, request_type = "url" ) + req$method }) })