Skip to content

Commit

Permalink
Try use new token set up on GHA with wider scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciekbanas committed Oct 15, 2024
1 parent 3159317 commit f56d8d1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/testthat/test-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,7 @@ test_that("`check_if_public` works correctly", {
})

test_that("`set_default_token` sets default token for public GitHub", {
mockery::stub(
github_testhost_priv$set_default_token,
"private$test_token",
TRUE
)
skip_on_cran()
expect_snapshot(
default_token <- github_testhost_priv$set_default_token(
verbose = TRUE
Expand Down

0 comments on commit f56d8d1

Please sign in to comment.