[#39] '시간' -> '일정' 스키마 변경으로 테마별 시간 지정 #40

Merged
pricelees merged 16 commits from refactor/#39 into main 2025-09-04 04:14:12 +00:00
Showing only changes of commit 9fdbcba85a - Show all commits

View File

@ -480,6 +480,26 @@ class ThemeApiTest(
}
}
test("입력값이 없으면 수정하지 않는다.") {
runTest(
token = loginUtil.loginAsAdmin(),
using = {
body(ThemeUpdateRequest())
},
on = {
patch(apiPath)
},
expect = {
statusCode(HttpStatus.OK.value())
}
).also {
val updatedTheme = themeRepository.findByIdOrNull(createdTheme.id)!!
updatedTheme.id shouldBe createdTheme.id
updatedTheme.updatedAt shouldBe createdTheme.updatedAt
}
}
test("테마가 없으면 실패한다.") {
runTest(
token = token,