Skip to content

Commit 0f2942d

Browse files
author
‘topepo’
committed
set env var for testing
1 parent 56be9fb commit 0f2942d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test-new-blog-post.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ test_that("Create a blog post", {
1414
setwd(dir_path)
1515
withr::defer(setwd(current_dir), envir = rlang::current_env())
1616

17+
Sys.setenv(FULLNAME="Max Kuhn")
18+
1719
# ------------------------------------------------------------------------------
1820

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

0 commit comments

Comments
 (0)