Commit Graph

7 Commits

Author SHA1 Message Date
Yoga Pangestu
e1be243351 test: Add comprehensive feature tests for Department and Theme Filament resources, covering CRUD, authorization, and soft delete functionalities. 2026-03-18 00:45:55 +07:00
Yoga Pangestu
84cd57e5dc test: Add feature tests for Location and SubLocation resources to validate CRUD operations and permission handling. 2026-03-17 22:54:46 +07:00
Yoga Pangestu
229ba24fef test: Add feature tests for Classification and SubClassification resources to validate CRUD operations and permission handling. 2026-03-17 22:48:04 +07:00
Yoga Pangestu
21be2fbb5e test: Add feature tests for various models including Announcement, Category, Cooperation, and more to ensure proper relationships and factory functionality. 2026-03-17 22:30:20 +07:00
Yoga Pangestu
78e3809e7b chore: Remove all existing tests from the project. 2026-03-17 21:50:58 +07:00
Yoga Pangestu
97cdfd6e0b test: add comprehensive test suite and model factories
- Add HasFactory trait to all model classes for factory support
- Create factory classes for all models (Classification, Company, ContentRecap, Department, IssueManagement, Journalist, Location, MediaMonitoring, MediaMonitoringTheme, PartnerMedia, SubClassification, SubLocation, Theme, User)
- Add unit tests for all models with relationship and attribute validation
- Add unit tests for all enums (Channel, ContentType, IsActive, IssueSentiment, MediaClassification, MediaType, SocialMedia)
- Add feature tests for factory integration and basic application functionality
- Add tests for Filament actions, columns, and media library utilities
- Add tests for model policies (Classification, Theme) and traits (WithComment, WithValue)
- Update phpunit.xml configuration for test environment
- Add test documentation and working tests reference guide
- Add ContentType enum casting to ContentRecap model
- Add MediaMonitoringTheme relationships and factory support
- Establish comprehensive testing infrastructure for improved code quality and reliability
2025-12-11 14:50:37 +07:00
Yoga Pangestu
aaa16df01f initial commit 2025-10-24 07:58:05 +07:00