Replace current time with a static timestamp to ensure deterministic tests

This commit is contained in:
Balázs Szücs 2025-06-25 12:00:22 +02:00
parent 2f0043cf16
commit b44f110bcf

View File

@ -110,7 +110,7 @@ class EmlToPdfTest {
@Test
@DisplayName("Should parse multipart email with attachments")
void parseMultipartEmailWithAttachments() throws IOException {
String boundary = "----=_Part_" + System.currentTimeMillis();
String boundary = "----=_Part_" + getTimestamp();
String emlContent = createMultipartEmailWithAttachment(
"multipart@example.com",
"user@example.com",