Skip to content
Prev Previous commit
Next Next commit
feat: update unit tests
  • Loading branch information
lfoppiano committed Apr 2, 2026
commit c6a462e2e19d9121d2aafe30ab442e0b45b17279
4 changes: 2 additions & 2 deletions src/test/org/commoncrawl/util/TestWarcWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public void testWriteRevisitRecordContentType() throws Exception {
int httpStatusCode = 304;

Date date = HttpDateFormat.toDate(metadata.get("date"));
URI warcinfoId = writer.getRecordId();
URI relatedId = writer.getRecordId();
URI warcinfoId = writer.getRecordId(date.getTime());
URI relatedId = writer.getRecordId(date.getTime());
String warcProfile = WarcWriter.PROFILE_REVISIT_IDENTICAL_DIGEST;
Date refersToDate = new Date(System.currentTimeMillis() - 3600000);
String payloadDigest = "sha1:abc123";
Expand Down