From a33cfdad015ca8b7b6dc171960f5b6271e449050 Mon Sep 17 00:00:00 2001 From: Will Beasley Date: Tue, 5 Nov 2024 15:29:42 -0600 Subject: [PATCH] arm-multiple-delete ref #552 --- inst/misc/coph.credentials | 2 +- inst/misc/project-redirection.yml | 2 +- .../projects/arm-multiple-delete/README.md | 7 +++++++ .../projects/arm-multiple-delete/project.xml | 18 ++++++++++-------- 4 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 inst/test-data/projects/arm-multiple-delete/README.md diff --git a/inst/misc/coph.credentials b/inst/misc/coph.credentials index 3787655a..b74b2125 100644 --- a/inst/misc/coph.credentials +++ b/inst/misc/coph.credentials @@ -26,7 +26,7 @@ redcap_uri,username,project_id,token,comment "https://redcap.ouhsc.edu/redcap/api/","myusername","2315","BC2D824FCF936C80EEEDDDFC3D886043","super-wide-3" "https://redcap.ouhsc.edu/redcap/api/","myusername","2316","1226D74DF3068D1749262E8557A597B8","repeating-instruments-sparse" "https://redcap.ouhsc.edu/redcap/api/","myusername","2317","92D434EE7CB6D79D5C847D20DFA43979","arm-single-delete" -"https://redcap.ouhsc.edu/redcap/api/","myusername","0","","arm-multiple-delete" +"https://redcap.ouhsc.edu/redcap/api/","myusername","2318","84E5DE832DDE291203295CDA09557A36","arm-multiple-delete" "https://redcap.ouhsc.edu/redcap/api/","myusername","0","","arm-single-longitudinal" "https://redcap.ouhsc.edu/redcap/api/","myusername","0","","decimal-comma-and-dot" "https://redcap.ouhsc.edu/redcap/api/","myusername","0","","decimal-comma" diff --git a/inst/misc/project-redirection.yml b/inst/misc/project-redirection.yml index 725eceff..303aa69d 100644 --- a/inst/misc/project-redirection.yml +++ b/inst/misc/project-redirection.yml @@ -91,7 +91,7 @@ - super-wide-3: 2315 - repeating-instruments-sparse: 2316 - arm-single-delete: 2317 - - arm-multiple-delete: 0 + - arm-multiple-delete: 2318 - arm-single-longitudinal: 0 - decimal-comma-and-dot: 0 - decimal-comma: 0 diff --git a/inst/test-data/projects/arm-multiple-delete/README.md b/inst/test-data/projects/arm-multiple-delete/README.md new file mode 100644 index 00000000..ff0b0f22 --- /dev/null +++ b/inst/test-data/projects/arm-multiple-delete/README.md @@ -0,0 +1,7 @@ +arm-multiple-delete Setup +============== + +In addition to the typical steps to establish a project, +make sure the plugin on your test server is updated to the correct `project_id` value in the delete sql. + +The sql is in [wipe-project-redcapr-arm-delete-multiple.php](../../../../utility/plugins/wipe-project-redcapr-arm-delete-multiple.php). diff --git a/inst/test-data/projects/arm-multiple-delete/project.xml b/inst/test-data/projects/arm-multiple-delete/project.xml index c82d554f..dbfeedb5 100644 --- a/inst/test-data/projects/arm-multiple-delete/project.xml +++ b/inst/test-data/projects/arm-multiple-delete/project.xml @@ -1,10 +1,10 @@ - - + + - REDCapR Delete Multiple Arms - This file contains the metadata, events, and data for REDCap project "REDCapR Delete Multiple Arms". - REDCapR Delete Multiple Arms + REDCapR: arm-multiple-delete + This file contains the metadata, events, and data for REDCap project "REDCapR: arm-multiple-delete". + REDCapR: arm-multiple-delete 1 @@ -13,15 +13,17 @@ 0 1 + 0 1 0 0 1 + 0 0 4 - REDCapR Test Suite: delete records from a multiple-arm project + 0 @@ -31,7 +33,7 @@ - + @@ -78,7 +80,7 @@ - +