technova69/waf
Par gilles, le 13 mai 2026 à 12h40min :
Added tests:
- CVT lifecycle unit tests in WafConfigurerFormUnitTest.php
- Schema declaration unit tests in WafSchemaDeclarationTest.php
- CVT lifecycle integration tests in WafConfigurerFormIntegrationTest.php
- Upgrade path integration tests in WafUpgradeIntegrationTest.php
What these cover:
- Form charger/verifier/traiter paths, including malformed/empty/valid numeric inputs and conditional fieldset behavior.
- Config persistence and cache invalidation side effects for form processing.
- Declared spip_waf_events schema contract (fields + expected indexes) and table interface mapping.
- waf_upgrade runtime behavior: schema/index presence, repeated-run idempotence, and preservation of existing rows after re-upgrade.
Ajouté
tests/integration/WafConfigurerFormIntegrationTest.php
tests/integration/WafUpgradeIntegrationTest.php
tests/unit/WafConfigurerFormUnitTest.php
tests/unit/WafSchemaDeclarationTest.php
Détails : Added tests: (cf308f3c) · Validations · GILLES VINCENT / SPIP WAF · GitLab