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))
})

Try the cognitoR package in your browser

Any scripts or data that you put into this service are public.

cognitoR documentation built on Sept. 14, 2023, 1:07 a.m.