- Update TestDataFactory.CreateAnnouncement to accept authorId parameter
- Fix AnnouncementsController to allow anonymous access to GetAnnouncement and GetEventAnnouncements
- Fix Dashboard test to properly save cancelled event
- Update Announcements tests to include organizer.Id as authorId
Status: 71 passed, 7 failed, 2 skipped
Remaining failures are in AnnouncementsControllerTests related to Update operations
- Create AnnouncementsControllerTests with 16 test cases
- Announcement creation, retrieval, updates, deletion
- Published vs unpublished visibility
- Authorization checks
- My announcements endpoint
- Create DashboardControllerTests with 8 test cases
- Organizer dashboard statistics
- Participant dashboard data
- Event capacity tracking
- Revenue calculations
Current test status: 68 passed, 10 failed, 2 skipped
- Some failures due to test data setup (Author relationships)
- Test structure is complete and comprehensive