From eeb837b375d88e6a429e150a3565f9783e7a2f11 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Mon, 4 Mar 2024 15:06:47 +0000 Subject: [PATCH] Fix integration test --- tests/testthat/test-zzz-location-http.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '.+'")