-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #546 from OuhscBbmc/dev
standardize plugin examples
- Loading branch information
Showing
6 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
File renamed without changes.
File renamed without changes.