stRoke/tests/testthat/test-read_redcap_tables.R

7 lines
262 B
R
Raw Normal View History

# Unit Test
# Test that the function throws an error when uri and token are not provided
2023-01-12 13:44:29 +01:00
test_that("read_redcap_tables throws error when uri and token are not provided",
{
testthat::expect_error(read_redcap_tables(uri, token))
})