diff --git a/tests/testthat/_snaps/check_tbl_values_required.md b/tests/testthat/_snaps/check_tbl_values_required.md index 3f0d2be4..4a3aa314 100644 --- a/tests/testthat/_snaps/check_tbl_values_required.md +++ b/tests/testthat/_snaps/check_tbl_values_required.md @@ -224,7 +224,8 @@ --- Code - check_for_errors(validate_submission(hub_path, file_path)) + check_for_errors(validate_submission(hub_path, file_path, + skip_submit_window_check = TRUE)) Message -- 2024-10-02-UMass-HMLR.parquet ---- diff --git a/tests/testthat/test-check_tbl_values_required.R b/tests/testthat/test-check_tbl_values_required.R index 0aba4c07..48aecad0 100644 --- a/tests/testthat/test-check_tbl_values_required.R +++ b/tests/testthat/test-check_tbl_values_required.R @@ -277,7 +277,10 @@ test_that("(#123) check_tbl_values_required works with all optional output types ) # Ensure that req_vals check is the only one that fails expect_snapshot( - check_for_errors(validate_submission(hub_path, file_path)), + check_for_errors(validate_submission( + hub_path, file_path, + skip_submit_window_check = TRUE + )), error = TRUE ) })