mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-01-04 10:40:23 -06:00
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
fix: Resolve CI/CD workflow duplication and test failures
|
|
|
|
- Remove develop push trigger from ci-comprehensive workflow to prevent duplicate runs
|
|
- Fix User fixtures to set is_active after instantiation (3 fixtures)
|
|
- Fix Client fixtures to set status after instantiation (2 fixtures)
|
|
- Fix Project fixtures to set status after instantiation (2 fixtures)
|
|
- Fix Invoice fixture to set status after instantiation (1 fixture)
|
|
- Update security test to accept 404 as valid status code for API endpoints
|
|
- Document Black formatting requirements
|
|
|
|
Fixes:
|
|
- Duplicate workflow runs when pushing to develop branch
|
|
- TypeError: User.__init__() got unexpected keyword argument 'is_active' (3 fixtures)
|
|
- TypeError: Client.__init__() got unexpected keyword argument 'status' (2 fixtures)
|
|
- TypeError: Project.__init__() got unexpected keyword argument 'status' (2 fixtures)
|
|
- TypeError: Invoice.__init__() got unexpected keyword argument 'status' (1 fixture)
|
|
- test_unauthenticated_cannot_access_api status code mismatch (404 vs 302/401/403)
|
|
- SQLAlchemy InvalidRequestError in test_invoice_creation
|
|
|
|
Total: 8 fixture errors fixed across User, Client, Project, and Invoice models
|
|
|
|
NOTE: Black formatting still needs to be applied locally with: black app/
|
|
|