Skip to content

Commit

Permalink
Add test to fix coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciekbanas committed Dec 19, 2024
1 parent 200669d commit d2b2437
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/testthat/test-01-get_repos-GitHub.R
Original file line number Diff line number Diff line change
Expand Up @@ -637,5 +637,16 @@ test_that("`get_repos()` pulls table in minimalist version", {
repo_cols = repo_min_colnames,
with_cols = c("api_url", "platform")
)
gh_repos_table_min <- github_testhost$get_repos(
add_contributors = FALSE,
with_file = "test_file",
output = "table_min",
verbose = FALSE
)
expect_repos_table(
gh_repos_table_min,
repo_cols = repo_min_colnames,
with_cols = c("api_url", "platform")
)
test_mocker$cache(gh_repos_table_min)
})

0 comments on commit d2b2437

Please sign in to comment.