diff --git a/tests/testthat/test-zzz-location-http.R b/tests/testthat/test-zzz-location-http.R index 6f93e760..7bb998b7 100644 --- a/tests/testthat/test-zzz-location-http.R +++ b/tests/testthat/test-zzz-location-http.R @@ -121,7 +121,7 @@ describe("http location integration tests", { ) ## Trigger the error directly: - cl <- outpack_http_client$new(url) + cl <- outpack_http_client$new(url, NULL) err <- expect_error(cl$post(sprintf("/packet/%s", hash), meta, httr::content_type("text/plain")), "Expected hash '.+' but found '.+'")