Skip to content

Commit

Permalink
Add a test for an invalid date precondition
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Dec 12, 2024
1 parent 02cb641 commit d40728a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public static Collection<Object[]> parameters() {
null, Boolean.FALSE, SC_200 });
parameterSets.add(new Object[] { useStrongEtag, Task.HEAD_INDEX_HTML, null, DatePrecondition.MULTI_IN, null,
null, null, Boolean.FALSE, SC_200 });
parameterSets.add(new Object[] { useStrongEtag, Task.HEAD_INDEX_HTML, null, DatePrecondition.INVALID, null,
null, null, Boolean.FALSE, SC_200 });

// Ensure If-Unmodified-Since takes precedence over If-Modified-Since
// If-Unmodified-Since only
Expand Down

0 comments on commit d40728a

Please sign in to comment.