Implementa gestão Filament de configurações, serviços, portfólio e depoimentos com policies admin-only, upload validado e seed determinístico. Co-authored-by: Cursor <cursoragent@cursor.com>
801 B
801 B
ADDED Requirements
Requirement: Local feature tests use PostgreSQL
The system SHALL configure phpunit.xml so that the Feature test suite uses PostgreSQL with the same connection parameters as CI (DB_CONNECTION=pgsql, host, port, database amare_test, credentials). Local feature tests MUST NOT default to SQLite :memory:.
Scenario: Developer runs feature tests locally
- WHEN a developer runs
composer test:featurewith PostgreSQL available - THEN tests MUST execute against PostgreSQL
- AND MUST NOT silently fall back to SQLite
Scenario: Feature tests exercise PostgreSQL-specific types
- WHEN feature tests persist records with jsonb columns (e.g.,
social_links) - THEN migrations and constraints MUST be validated against PostgreSQL semantics