Commit Graph

2 Commits

Author SHA1 Message Date
eba6f60d18 test(02-01): add feature tests for inline note UI
- Test note count badge renders with correct count from withCount
- Test Alpine.js directives present in HTML (noteFormOpen, submitNote, x-model, :disabled)
- Test 備忘錄 column header renders
- Test zero-note members show 0 count
- Test correct note store route URL embedded for each member

All 5 tests pass. No regressions in 7 Phase 1 tests.
2026-02-13 12:33:40 +08:00
35a9f83989 feat(01-02): add withCount for notes and comprehensive tests
- AdminMemberController index() now includes withCount('notes')
- Created MemberNoteTest with 7 feature tests
- Tests cover: creation, retrieval, validation, audit logging, authorization, N+1 prevention, ordering
- All new tests passing (7/7)
- No regressions in existing test suite
2026-02-13 12:10:39 +08:00