Skip to content

Commit

Permalink
test caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mem48 committed Oct 31, 2020
1 parent 570c891 commit ef63a53
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testthat/test_02_without_OTP.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ test_that("download otp", {
})


test_that("download otp and cache", {
skip_on_cran()
otp_cache <- otp_dl_jar(path_data, quiet = TRUE, cache = TRUE)
expect_true(file.exists(file.path(otp_cache)))
})


test_that("default object is created and make_url method works", {
skip_on_cran()
expect_is(otpcon, "otpconnect")
Expand Down

0 comments on commit ef63a53

Please sign in to comment.