Repository navigation
Release v0.0.14
fix: Correct all test failures and improve test reliability
- Fixed Repository tests by using Query instead of AbstractQuery in mocks
- Used partial mocks for LoginAttemptRepository to properly override createQueryBuilder
- Fixed testCommandHandlesExceptionWhenWritingFails to handle file system edge cases
- All 84 tests now pass successfully (261 assertions)
- Updated CHANGELOG.md and UPGRADING.md documentation
Changelog
Fixed
- Test Suite Corrections: Fixed all remaining test failures
- Fixed Repository tests by using
Queryinstead ofAbstractQueryin mocks for PHPUnit 10 compatibility - Used partial mocks for
LoginAttemptRepositoryto properly overridecreateQueryBuildermethod - Fixed
testCommandHandlesExceptionWhenWritingFailsto handle cases where file system permissions allow writing - All 84 tests now pass successfully with 261 assertions
- Fixed Repository tests by using
Changed
- Test Infrastructure: Improved test reliability and compatibility
- Repository tests now use proper mocking strategy for Doctrine ORM components
- Command tests handle edge cases with file system permissions more gracefully
- Better error handling in test assertions
Full Changelog: v0.0.12...v0.0.14