chore(deps): update Spring Boot version to 4.0.6 and adjust testing behavior for new version (#833)
This commit is contained in:
@@ -6,7 +6,7 @@ import org.springframework.boot.gradle.tasks.run.BootRun
|
||||
|
||||
plugins {
|
||||
java
|
||||
id("org.springframework.boot") version "4.0.5"
|
||||
id("org.springframework.boot") version "4.0.6"
|
||||
id("io.spring.dependency-management") version "1.1.7"
|
||||
id("org.hibernate.orm") version "7.3.2.Final"
|
||||
id("com.github.ben-manes.versions") version "0.54.0"
|
||||
|
||||
@@ -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