Skip to content

Release v0.0.14

Choose a tag to compare

@github-actions github-actions released this 30 Dec 20:37
· 119 commits to main since this release

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 Query instead of AbstractQuery in mocks for PHPUnit 10 compatibility
    • Used partial mocks for LoginAttemptRepository to properly override createQueryBuilder method
    • Fixed testCommandHandlesExceptionWhenWritingFails to handle cases where file system permissions allow writing
    • All 84 tests now pass successfully with 261 assertions

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