Delete post change logs before removing posts

This commit is contained in:
Tim
2025-09-17 13:30:58 +08:00
parent 9101ed336c
commit 5d499956d7
4 changed files with 8 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ class PostServiceTest {
verify(postReadService).deleteByPost(post);
verify(postRepo).delete(post);
verify(postChangeLogService).deleteLogsForPost(post);
}
@Test