diff --git a/tests/testthat/test-req-perform-connection.R b/tests/testthat/test-req-perform-connection.R index 7c94a29d..922e3193 100644 --- a/tests/testthat/test-req-perform-connection.R +++ b/tests/testthat/test-req-perform-connection.R @@ -8,6 +8,7 @@ test_that("validates inputs", { test_that("correctly prepares request", { req <- request_test("/post") %>% req_method("POST") expect_no_error(resp <- req_perform_connection(req)) + close(resp) }) test_that("can read all data from a connection", {