mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-03-13 02:18:16 +01:00
feat: Add RegexPatternUtils for centralized regex management, file naming funcs, UtilityClass annotation (#4218)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
This commit is contained in:
@@ -70,7 +70,8 @@ class MultiPageLayoutControllerTest {
|
||||
Assertions.assertNotNull(resp.getBody());
|
||||
Assertions.assertTrue(resp.getBody().length > 0);
|
||||
Assertions.assertEquals(
|
||||
"test_layoutChanged.pdf", resp.getHeaders().getContentDisposition().getFilename());
|
||||
"test_multi_page_layout.pdf",
|
||||
resp.getHeaders().getContentDisposition().getFilename());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -111,6 +112,7 @@ class MultiPageLayoutControllerTest {
|
||||
|
||||
ResponseEntity<byte[]> resp = controller.mergeMultiplePagesIntoOne(req);
|
||||
Assertions.assertEquals(
|
||||
"name_layoutChanged.pdf", resp.getHeaders().getContentDisposition().getFilename());
|
||||
"name_multi_page_layout.pdf",
|
||||
resp.getHeaders().getContentDisposition().getFilename());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user