diff --git a/komga/src/test/kotlin/org/gotson/komga/interfaces/rest/BookControllerTest.kt b/komga/src/test/kotlin/org/gotson/komga/interfaces/rest/BookControllerTest.kt index 36d33f6c8..fd9bfb2e7 100644 --- a/komga/src/test/kotlin/org/gotson/komga/interfaces/rest/BookControllerTest.kt +++ b/komga/src/test/kotlin/org/gotson/komga/interfaces/rest/BookControllerTest.kt @@ -644,7 +644,7 @@ class BookControllerTest( contentType = MediaType.APPLICATION_JSON content = jsonString }.andExpect { - status { isOk } + status { isNoContent } } val metadata = bookMetadataRepository.findById(bookId) @@ -722,7 +722,7 @@ class BookControllerTest( contentType = MediaType.APPLICATION_JSON content = jsonString }.andExpect { - status { isOk } + status { isNoContent } } val updatedMetadata = bookMetadataRepository.findById(bookId) @@ -774,7 +774,7 @@ class BookControllerTest( contentType = MediaType.APPLICATION_JSON content = jsonString }.andExpect { - status { isOk } + status { isNoContent } } val metadata = bookMetadataRepository.findById(bookId) diff --git a/komga/src/test/kotlin/org/gotson/komga/interfaces/rest/SeriesControllerTest.kt b/komga/src/test/kotlin/org/gotson/komga/interfaces/rest/SeriesControllerTest.kt index 99cf2962e..5663a9273 100644 --- a/komga/src/test/kotlin/org/gotson/komga/interfaces/rest/SeriesControllerTest.kt +++ b/komga/src/test/kotlin/org/gotson/komga/interfaces/rest/SeriesControllerTest.kt @@ -402,7 +402,7 @@ class SeriesControllerTest( contentType = MediaType.APPLICATION_JSON content = jsonString }.andExpect { - status { isOk } + status { isNoContent } } val updatedMetadata = seriesMetadataRepository.findById(createdSeries.id)