chore(deps): update Spring Boot version to 4.0.6 and adjust testing behavior for new version (#833)
This commit is contained in:
@@ -71,7 +71,7 @@ public class BookDownloadServiceTest {
|
||||
|
||||
@Test
|
||||
public void downloadBook_includesContentDispositionUTF8() {
|
||||
String expected = "attachment; filename=\"=?UTF-8?Q?=C9=87xample.epub?=\"; filename*=UTF-8''%C9%87xample.epub";
|
||||
String expected = "attachment; filename=\"_xample.epub\"; filename*=UTF-8''%C9%87xample.epub";
|
||||
|
||||
BookEntity bookEntity = getSampleBook("ɇxample.epub");
|
||||
when(bookRepository.findByIdWithBookFiles(1L)).thenReturn(Optional.of(bookEntity));
|
||||
|
||||
Reference in New Issue
Block a user