Skip to content

Commit 72ba060

Browse files
committed
add test for PAT
1 parent fd71d51 commit 72ba060

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/testthat/test-gist_auth.R

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
test_that("gitcreds finds PAT", {
2+
expect_equal(gitcreds::gitcreds_get()$password, Sys.getenv("GITHUB_PAT"))
3+
})
4+
5+
16
test_that("gist_auth finds PAT", {
27
skip_on_cran()
38
auth <- gist_auth(reauth = TRUE)

0 commit comments

Comments
 (0)