Skip to content

Commit ef63a53

Browse files
committed
test caching
1 parent 570c891 commit ef63a53

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/testthat/test_02_without_OTP.R

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ test_that("download otp", {
5858
})
5959

6060

61+
test_that("download otp and cache", {
62+
skip_on_cran()
63+
otp_cache <- otp_dl_jar(path_data, quiet = TRUE, cache = TRUE)
64+
expect_true(file.exists(file.path(otp_cache)))
65+
})
66+
67+
6168
test_that("default object is created and make_url method works", {
6269
skip_on_cran()
6370
expect_is(otpcon, "otpconnect")

0 commit comments

Comments
 (0)