Skip to content

Commit

Permalink
skip submission window check
Browse files Browse the repository at this point in the history
  • Loading branch information
annakrystalli committed Oct 4, 2024
1 parent 1d33cf0 commit dc6bfa8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/testthat/_snaps/check_tbl_values_required.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ----
Expand Down
5 changes: 4 additions & 1 deletion tests/testthat/test-check_tbl_values_required.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
})

0 comments on commit dc6bfa8

Please sign in to comment.