3 Commits

Author SHA1 Message Date
shahondin1624 9ed69b78ca feat: database portability — support PostgreSQL and SQLite (Closes #192)
Database Portability Tests / Unit Tests (PlatformHelper) (push) Failing after 45s
Database Portability Tests / Integration (mysql) (push) Has been skipped
Database Portability Tests / Integration (postgres) (push) Has been skipped
Database Portability Tests / Integration (sqlite) (push) Has been skipped
Database Portability Tests / Verify no MySQL-specific SQL (push) Successful in 4s
2026-04-12 13:46:22 +02:00
shahondin1624 78174e6ad8 test: comprehensive test suite achieving 90.49% line coverage
Add 1343 PHPUnit tests covering all services, controllers, entities,
mappers, middleware, background jobs, and validators. Key changes:

- Install PHPUnit 10, Nextcloud OCP stubs, doctrine/dbal, sabre/vobject
  as dev dependencies
- Add test bootstrap with OC\Hooks\Emitter stub
- Add TestInputStream stream wrapper for controller request body testing
- Fix ImportService to handle empty file input gracefully
- Fix existing test compatibility with PHPUnit 10 (withConsecutive removal)
- Exclude migration files from coverage (DB schema, not business logic)
- Coverage: 90.49% lines, 84.81% methods across 77 classes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 12:36:52 +02:00
shahondin1624 187a2d667e test: add comprehensive unit tests for FeeCalculationService (Closes #45) 2026-04-07 13:38:02 +02:00