Skip to content

Commit

Permalink
simplifying "static-survey" to just "survey"
Browse files Browse the repository at this point in the history
ref #542
  • Loading branch information
wibeasley committed Oct 14, 2024
1 parent a2ed15a commit 4db037a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion inst/misc/dev-2.credentials
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ redcap_uri,username,project_id,token,comment
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","38","7943545B7DD2C43B12AFA3F81F0B53A5","empty-rows"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","39","082C1C39D957FA7CF7CF36FCC6A9CCB2","single-column"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","40","8D335EE8AFE861418B4D0324F82727D4","super-wide-1"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","41","4780D038A2080BA2E7CC904A14218662","static-survey"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","41","4780D038A2080BA2E7CC904A14218662","survey"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","42","F2A02137BA58ABFC001058ADAC9B36D2","clinical-trial-1"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","","---","Clinical Trial (Fake) --read & write, contributed by @higgi13425"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","43","35D2589C5F1BC4261B7B9A53F181DC4B","nonnumeric-record-id"
Expand Down
2 changes: 1 addition & 1 deletion inst/misc/example.credentials
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ redcap_uri,username,project_id,token,comment
"https://bbmc.ouhsc.edu/redcap/api/","myusername","690","7668169F66720113E844491FFDB65273","empty-rows"
"https://bbmc.ouhsc.edu/redcap/api/","myusername","691","814BA96077C9864D0FFDCABD2778814F","single-column"
"https://bbmc.ouhsc.edu/redcap/api/","myusername","753","CCB7E11837D41126D67C744F97389E04","super-wide-1"
"https://bbmc.ouhsc.edu/redcap/api/","myusername","817","8FA9A6BDAE2C0B5DD3CB472DD8E8918C","static-survey"
"https://bbmc.ouhsc.edu/redcap/api/","myusername","817","8FA9A6BDAE2C0B5DD3CB472DD8E8918C","survey"
"https://bbmc.ouhsc.edu/redcap/api/","myusername","977","F304DEC3793FECC3B6DEEFF66302CAD3","clinical-trial-1"
"https://bbmc.ouhsc.edu/redcap/api/","myusername","0","---","Clinical Trial (Fake) --read & write, contributed by @higgi13425"
"https://bbmc.ouhsc.edu/redcap/api/","myusername","998","124CA60A870CAA85394FE9E00EB8EFE7","nonnumeric-record-id"
Expand Down
4 changes: 2 additions & 2 deletions inst/misc/project-redirection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- empty-rows: 690
- single-column: 691
- super-wide-1: 753
- static-survey: 817
- survey: 817
- clinical-trial-1: 977
# 0
- nonnumeric-record-id: 998
Expand Down Expand Up @@ -43,7 +43,7 @@
- empty-rows: 38
- single-column: 39
- super-wide-1: 40
- static-survey: 41
- survey: 41
- clinical-trial-1: 42
- nonnumeric-record-id: 43
- dag: 44
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-read-batch-survey.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
library(testthat)

credential <- retrieve_credential_testing("static-survey")
credential <- retrieve_credential_testing("survey")
project <- redcap_project$new(redcap_uri=credential$redcap_uri, token=credential$token)
update_expectation <- FALSE

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-survey-link-export-oneshot.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
library(testthat)

credential <- retrieve_credential_testing("static-survey")
credential <- retrieve_credential_testing("survey")
record <- 1
instrument <- "participant_morale_questionnaire"

Expand Down

0 comments on commit 4db037a

Please sign in to comment.