Commit 27e4f74
test: 엔티티 오버로드의 soft-delete 방어 로직 검증 테스트 추가
소유자여도 삭제된 컬렉션 엔티티를 canReadCollection에 직접 넘기면
COLLECTION_NOT_FOUND가 발생하는지 검증한다.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 091cea0 commit 27e4f74
1 file changed
Lines changed: 12 additions & 0 deletions
File tree
- src/test/java/com/opensource/docgrid/domain/permission/service/query
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
437 | 449 | | |
438 | 450 | | |
439 | 451 | | |
| |||
0 commit comments