chore(deps): update Spring Boot version to 4.0.6 and adjust testing behavior for new version (#833)

This commit is contained in:
brios
2026-04-24 21:05:01 +02:00
committed by GitHub
parent 0590fc8b68
commit 7a39e68d59
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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));