Skip to content

Commit

Permalink
set env var for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
‘topepo’ committed Apr 18, 2024
1 parent 56be9fb commit 0f2942d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-new-blog-post.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ test_that("Create a blog post", {
setwd(dir_path)
withr::defer(setwd(current_dir), envir = rlang::current_env())

Sys.setenv(FULLNAME="Max Kuhn")

# ------------------------------------------------------------------------------

post_1 <- new_blog_post("Intro to Felt Surrogacy", date = "March 25, 2010",
Expand Down

0 comments on commit 0f2942d

Please sign in to comment.