test(journey): rename updateItemNote test to clarify Optional deserialization semantics

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-06-08 19:17:25 +02:00
parent e400b1d77e
commit c5611250ec

View File

@@ -270,7 +270,7 @@ class GeschichteControllerTest {
@Test
@WithMockUser(authorities = "BLOG_WRITE")
void updateItemNote_null_note_deserializes_as_present_null() throws Exception {
void updateItemNote_json_null_note_is_deserialized_as_empty_Optional() throws Exception {
UUID id = UUID.randomUUID();
UUID itemId = UUID.randomUUID();
when(journeyItemService.updateNote(eq(id), eq(itemId), any()))