Blame 0001-Skip-another-test-if-offline.patch

25741a8
From 7bee9cc158716e7b5bfe5f75bc0b28f3de46117d Mon Sep 17 00:00:00 2001
25741a8
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
25741a8
Date: Wed, 30 Sep 2020 03:21:05 -0400
25741a8
Subject: [PATCH] Skip another test if offline.
25741a8
25741a8
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
25741a8
---
25741a8
 tests/testthat/test-4-async-http.R | 1 +
25741a8
 1 file changed, 1 insertion(+)
25741a8
25741a8
diff --git a/tests/testthat/test-4-async-http.R b/tests/testthat/test-4-async-http.R
25741a8
index d100a9b..7ba730b 100644
25741a8
--- a/tests/testthat/test-4-async-http.R
25741a8
+++ b/tests/testthat/test-4-async-http.R
25741a8
@@ -41,6 +41,7 @@ test_that("download_file", {
25741a8
 })
25741a8
 
25741a8
 test_that("download_file, errors", {
25741a8
+  skip_if_offline()
25741a8
 
25741a8
   tmp <- tempfile()
25741a8
   expect_error(
25741a8
-- 
25741a8
2.26.2
25741a8