Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
ref #542
  • Loading branch information
wibeasley committed Oct 18, 2024
1 parent dcdcd24 commit 84a1b77
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/test-all.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Modeled after the R6 testing structure: https://github.com/wch/R6/blob/master/tests/testthat.R
library(testthat)
library(REDCapR)
# source("R/helpers-testing.R")

Sys.setenv("redcapr_test_server" = "dev-2")
# Sys.setenv("redcapr_test_server" = "bbmc")

Sys.setenv("redcapr_test_server" = "dev-2")
message("Using test server '", Sys.getenv("redcapr_test_server"), "'.")

# source("R/helpers-testing.R")
testthat::test_check("REDCapR")

# Sys.setenv("redcapr_test_server" = "bbmc")
# message("Using test server '", Sys.getenv("redcapr_test_server"), "'.")
# testthat::test_check("REDCapR")

0 comments on commit 84a1b77

Please sign in to comment.