Исправить форматирование теста рекомендаций

Разбиты длинные строки в RecommendationSmokeTest, из-за которых CI падал на ktlint и detekt.
This commit is contained in:
skettiks
2026-05-23 00:22:19 +03:00
parent eb3f0cd206
commit 360e2aa819
@@ -340,7 +340,13 @@ class RecommendationSmokeTest {
mockMvc mockMvc
.post("/api/users") { .post("/api/users") {
contentType = MediaType.APPLICATION_JSON contentType = MediaType.APPLICATION_JSON
content = objectMapper.writeValueAsString(CreateUserRequest(name = "Harry", email = "harry@example.com")) content =
objectMapper.writeValueAsString(
CreateUserRequest(
name = "Harry",
email = "harry@example.com",
),
)
}.andExpect { }.andExpect {
status { isCreated() } status { isCreated() }
} }
@@ -365,7 +371,8 @@ class RecommendationSmokeTest {
val likedSecondFilmId = val likedSecondFilmId =
createFilm( createFilm(
title = "Chamber of Magic", title = "Chamber of Magic",
description = "Young friends return to a wizard school and uncover a secret chamber full of magical danger.", description =
"Young friends return to a wizard school and uncover a secret chamber full of magical danger.",
releaseYear = 2002, releaseYear = 2002,
genres = listOf("Fantasy", "Adventure", "Family"), genres = listOf("Fantasy", "Adventure", "Family"),
imdbRating = 8.1, imdbRating = 8.1,