tests/testthat/test-get_info_user.R

context("get_info_user")
test_that("Incorrect token will return FALSE", {
  token <- "incorrect-token"
  config <- get_config()
  expect_false(get_info_user(token, config))
})
chi2labs/cognitoR documentation built on Feb. 5, 2024, 4:53 a.m.