REDCapCAST/tests/testthat/test-read_redcap_tables.R

8 lines
263 B
R
Raw Normal View History

2023-02-28 09:54:03 +01:00
# Unit Test
# Test that the function throws an error when uri and token are not provided
test_that("read_redcap_tables throws error when uri and token are not provided",
{
testthat::expect_error(read_redcap_tables(uri, token))
})