mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
Replace current time with a static timestamp to ensure deterministic tests
This commit is contained in:
parent
2f0043cf16
commit
b44f110bcf
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user