Skip to content

Commit

Permalink
skip submit window check for test validating #123
Browse files Browse the repository at this point in the history
  • Loading branch information
zkamvar committed Oct 8, 2024
1 parent 0745936 commit 4952bef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 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,7 @@
---

Code
check_for_errors(validate_submission(hub_path, file_path))
check_for_errors(val)
Message
-- 2024-10-02-UMass-HMLR.parquet ----
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-check_tbl_values_required.R
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,9 @@ test_that("(#123) check_tbl_values_required works with all optional output types
c("24A", "24B")
)
# Ensure that req_vals check is the only one that fails
val <- validate_submission(hub_path, file_path, skip_submit_window_check = TRUE)
expect_snapshot(
check_for_errors(validate_submission(hub_path, file_path)),
check_for_errors(val),
error = TRUE
)
})

0 comments on commit 4952bef

Please sign in to comment.