Skip to content

test(backend): 422 when statement import file missing#386

Closed
algirdasc wants to merge 1 commit intomainfrom
test/backend-statement-import-missing-file-validation
Closed

test(backend): 422 when statement import file missing#386
algirdasc wants to merge 1 commit intomainfrom
test/backend-statement-import-missing-file-validation

Conversation

@algirdasc
Copy link
Copy Markdown
Owner

$### What\nAdds a functional test that ensures the statement import endpoint returns a consistent 422 Unprocessable Entity when the statement upload is missing. This covers the new StatementImportRequest validation and prevents regressions back to 500s.\n\n### How to verify\n- CI: backend test suite should include the new test file and pass\n- Locally (inside backend):\n - ./vendor/bin/phpunit\n\n### Notes\n- Focused on backend only (no frontend changes).\n- Follows rule: 1 test file = 1 PR.

@github-actions
Copy link
Copy Markdown

Backend total line coverage: 56.8%

@algirdasc algirdasc closed this Feb 16, 2026
@algirdasc algirdasc deleted the test/backend-statement-import-missing-file-validation branch February 16, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant