diff --git a/inst/misc/plugin-redirection.yml b/inst/misc/plugin-redirection.yml index 0aeb5d5a..1d8455af 100644 --- a/inst/misc/plugin-redirection.yml +++ b/inst/misc/plugin-redirection.yml @@ -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" diff --git a/tests/test-all.R b/tests/test-all.R index 5fb4d7df..32ba90dc 100644 --- a/tests/test-all.R +++ b/tests/test-all.R @@ -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") diff --git a/utility/plugins/wipe-project-delete-multiple-arm.php b/utility/plugins/wipe-project-redcapr-arm-delete-multiple.php similarity index 100% rename from utility/plugins/wipe-project-delete-multiple-arm.php rename to utility/plugins/wipe-project-redcapr-arm-delete-multiple.php diff --git a/utility/plugins/wipe-project-delete-single-arm.php b/utility/plugins/wipe-project-redcapr-arm-delete-single.php similarity index 100% rename from utility/plugins/wipe-project-delete-single-arm.php rename to utility/plugins/wipe-project-redcapr-arm-delete-single.php diff --git a/utility/plugins/wipe-project-dag.php b/utility/plugins/wipe-project-redcapr-dag-write.php similarity index 100% rename from utility/plugins/wipe-project-dag.php rename to utility/plugins/wipe-project-redcapr-dag-write.php diff --git a/utility/plugins/wipe-project-simple.php b/utility/plugins/wipe-project-redcapr-simple.php similarity index 100% rename from utility/plugins/wipe-project-simple.php rename to utility/plugins/wipe-project-redcapr-simple.php