feat(lesereisen): data model + Flyway migration — GeschichteType, JourneyItem, migrate geschichten_documents #787

Open
marcel wants to merge 80 commits from feat/issue-750-lesereisen-data-model into main
Showing only changes of commit c31f82a69c - Show all commits

View File

@@ -24,6 +24,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.UUID;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.ArgumentMatchers.eq;
@@ -283,7 +284,7 @@ class GeschichteControllerTest {
.contentType(MediaType.APPLICATION_JSON)
.content("{\"note\": null}"))
.andExpect(status().isOk())
.andExpect(jsonPath("$.note").doesNotExist());
.andExpect(jsonPath("$.note").value(nullValue()));
}
@Test