Skip to content

Commit

Permalink
Merge pull request #546 from OuhscBbmc/dev
Browse files Browse the repository at this point in the history
standardize plugin examples
  • Loading branch information
wibeasley authored Oct 19, 2024
2 parents d6df830 + a367d9a commit c4975da
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
16 changes: 8 additions & 8 deletions inst/misc/plugin-redirection.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
-
instance: bbmc
plugins:
- delete_simple : "https://bbmc.ouhsc.edu/redcap/plugins/redcapr/delete_redcapr_simple.php"
- delete_arm_single : "https://bbmc.ouhsc.edu/redcap/plugins/redcapr/delete_redcapr_delete_single_arm.php"
- delete_arm_multiple : "https://bbmc.ouhsc.edu/redcap/plugins/redcapr/delete_redcapr_delete_multiple_arm.php"
- delete_dag : "https://bbmc.ouhsc.edu/redcap/plugins/redcapr/delete_redcapr_dag_write.php"
- delete_simple : "https://bbmc.ouhsc.edu/redcap/plugins/redcapr/wipe-project-redcapr-simple.php"
- delete_arm_single : "https://bbmc.ouhsc.edu/redcap/plugins/redcapr/wipe-project-redcapr-arm-delete-single.php"
- delete_arm_multiple : "https://bbmc.ouhsc.edu/redcap/plugins/redcapr/wipe-project-redcapr-arm-delete-multiple.php"
- delete_dag : "https://bbmc.ouhsc.edu/redcap/plugins/redcapr/wipe-project-redcapr-dag-write.php"

-
instance: dev-2
plugins:
- delete_simple : "https://redcap-dev-2.ouhsc.edu/redcap/plugins/redcapr/delete_redcapr_simple.php"
- delete_arm_single : "https://redcap-dev-2.ouhsc.edu/redcap/plugins/redcapr/delete_redcapr_delete_single_arm.php"
- delete_arm_multiple : "https://redcap-dev-2.ouhsc.edu/redcap/plugins/redcapr/delete_redcapr_delete_multiple_arm.php"
- delete_dag : "https://redcap-dev-2.ouhsc.edu/redcap/plugins/redcapr/delete_redcapr_dag_write.php"
- delete_simple : "https://redcap-dev-2.ouhsc.edu/redcap/plugins/redcapr/wipe-project-redcapr-simple.php"
- delete_arm_single : "https://redcap-dev-2.ouhsc.edu/redcap/plugins/redcapr/wipe-project-redcapr-arm-delete-single.php"
- delete_arm_multiple : "https://redcap-dev-2.ouhsc.edu/redcap/plugins/redcapr/wipe-project-redcapr-arm-delete-multiple.php"
- delete_dag : "https://redcap-dev-2.ouhsc.edu/redcap/plugins/redcapr/wipe-project-redcapr-dag-write.php"
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")
File renamed without changes.
File renamed without changes.

0 comments on commit c4975da

Please sign in to comment.