diff --git a/inst/misc/coph.credentials b/inst/misc/coph.credentials index 51712342..3787655a 100644 --- a/inst/misc/coph.credentials +++ b/inst/misc/coph.credentials @@ -25,7 +25,7 @@ redcap_uri,username,project_id,token,comment "https://redcap.ouhsc.edu/redcap/api/","myusername","2314","1D465018BFB8D36AF08A3E869A9906BB","super-wide-2" "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","0","","arm-single-delete" +"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","0","","arm-single-longitudinal" "https://redcap.ouhsc.edu/redcap/api/","myusername","0","","decimal-comma-and-dot" diff --git a/inst/misc/project-redirection.yml b/inst/misc/project-redirection.yml index 4f3e7254..725eceff 100644 --- a/inst/misc/project-redirection.yml +++ b/inst/misc/project-redirection.yml @@ -90,7 +90,7 @@ - super-wide-2: 2314 - super-wide-3: 2315 - repeating-instruments-sparse: 2316 - - arm-single-delete: 0 + - arm-single-delete: 2317 - arm-multiple-delete: 0 - arm-single-longitudinal: 0 - decimal-comma-and-dot: 0 diff --git a/inst/test-data/projects/arm-single-delete/README.md b/inst/test-data/projects/arm-single-delete/README.md new file mode 100644 index 00000000..7a653e52 --- /dev/null +++ b/inst/test-data/projects/arm-single-delete/README.md @@ -0,0 +1,7 @@ +arm-single-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-single.php](../../../../utility/plugins/wipe-project-redcapr-arm-delete-single.php). \ No newline at end of file diff --git a/inst/test-data/projects/arm-single-delete/project.xml b/inst/test-data/projects/arm-single-delete/project.xml index 022ee5ff..b21d22e5 100644 --- a/inst/test-data/projects/arm-single-delete/project.xml +++ b/inst/test-data/projects/arm-single-delete/project.xml @@ -1,10 +1,10 @@ - - + + - REDCapR Delete Single Arm - This file contains the metadata, events, and data for REDCap project "REDCapR Delete Single Arm". - REDCapR Delete Single Arm + REDCapR: arm-single-delete + This file contains the metadata, events, and data for REDCap project "REDCapR: arm-single-delete". + REDCapR: arm-single-delete 1 @@ -13,15 +13,17 @@ 0 0 + 0 1 0 0 1 + 0 0 4 - REDCapR Test Suite: delete records from a single-arm project + 0 @@ -31,7 +33,7 @@ - + @@ -64,7 +66,7 @@ - +