tests/testthat/test-auth.R

testthat::context("Authentication")

testthat::test_that("Authentication gives back single string", {
  auth_key <- vstsr::vsts_auth_key("x", "y")

  testthat::expect_is(auth_key, "character")
  testthat::expect_length(auth_key, 1)
})
ashbaldry/vstsr documentation built on Aug. 24, 2023, 12:11 a.m.