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 13, 2024
1 parent 9e077a2 commit d1094d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion inst/misc/project-redirection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
- decimal-comma: 57
- decimal-dot: 58
- validation-types-1: 59
- blank-for-gray-status: 0
- blank-for-gray-status: 60
- checkboxes-1: 0
- vignette-repeating: 0
8 changes: 4 additions & 4 deletions tests/testthat/test-read-decimal-comma.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test_that("locale-dot-oneshot", {
testthat::skip_on_cran()
locale <- readr::locale(decimal_mark = ".")

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

returned_object <-
Expand Down Expand Up @@ -36,7 +36,7 @@ test_that("locale-dot-batch", {
testthat::skip_on_cran()
locale <- readr::locale(decimal_mark = ".")

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

returned_object <-
Expand All @@ -63,7 +63,7 @@ test_that("locale-dot-batch", {
test_that("default-oneshot", {
testthat::skip_on_cran()

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

returned_object <-
Expand All @@ -90,7 +90,7 @@ test_that("default-oneshot", {
test_that("default-batch", {
testthat::skip_on_cran()

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

returned_object <-
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-read-decimal-dot.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test_that("locale-comma-oneshot", {
credential <- retrieve_credential_testing("decimal-comma")
locale <- readr::locale(decimal_mark = ",")

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

returned_object <-
Expand Down Expand Up @@ -64,7 +64,7 @@ test_that("locale-comma-batch", {
credential <- retrieve_credential_testing("decimal-comma")
locale <- readr::locale(decimal_mark = ",")

path_expected <- "test-data/decimal-comma/redcapr-specific/set-locale.R"
path_expected <- "test-data/projects/decimal-comma/redcapr-specific/set-locale.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 d1094d0

Please sign in to comment.