Skip to content

Commit

Permalink
update paths
Browse files Browse the repository at this point in the history
ref #539
  • Loading branch information
wibeasley committed Oct 12, 2024
1 parent 52610e2 commit fd342f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test-arm-export.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ test_that("Longitudinal Single Arm", {
testthat::skip_on_cran()
credential <- retrieve_credential_testing("arm-single-longitudinal")

path_expected <- "test-data/longitudinal-single-arm/arm.csv"
path_expected <- "test-data/projects/arm-single-longitudinal/arm.csv"
expected_data_frame <- read_arms(path_expected)

expected_outcome_message <- "The list of arms was retrieved from the REDCap project in \\d+(\\.\\d+\\W|\\W)seconds\\."
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-event-read.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test_that("Longitudinal Single Arm", {
testthat::skip_on_cran()
credential <- retrieve_credential_testing("arm-single-longitudinal")

path_expected <- "test-data/longitudinal-single-arm/event.csv"
path_expected <- "test-data/projects/arm-single-longitudinal/event.csv"
expected_data_frame <- retrieve_expected_events(path_expected)

expected_outcome_message <- "The list of events was retrieved from the REDCap project in \\d+(\\.\\d+\\W|\\W)seconds\\."
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-read-decimal-dot.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test_that("default-mismatched", {
testthat::skip_on_cran()
credential <- retrieve_credential_testing("decimal-comma-and-dot")

path_expected <- "test-data/decimal-comma-and-dot/redcapr-specific/default-mismatched.R"
path_expected <- "test-data/projects/decimal-comma-and-dot/redcapr-specific/default-mismatched.R"
expected_outcome_message <- "\\d+ records and \\d+ columns were read from REDCap in \\d+(\\.\\d+\\W|\\W)seconds\\."

returned_object <-
Expand Down

0 comments on commit fd342f9

Please sign in to comment.