[SPIP WAF ↪ tests] Added missing denied-subtype assertions in WafLogUnblockAtte

technova69/waf

Par gilles, le 13 mai 2026 à 11h53min :

  • Added missing denied-subtype assertions in WafLogUnblockAttemptTest.php.
  • Added subprocess-based orchestration tests in WafViolationOrchestrationSubprocessTest.php to safely cover exit-path behavior:
  • direct WafViolationOrchestrationSubprocessTest.php:23
  • non-bypass WafViolationOrchestrationSubprocessTest.php:65 side effects before exit (BLOCKED, UNBLOCK_REVOKED, BAN)

Ajouté
tests/unit/WafViolationOrchestrationSubprocessTest.php
Modifié
tests/unit/WafLogUnblockAttemptTest.php

Détails : - Added missing denied-subtype assertions in WafLogUnblockAttemptTest.php. (2f466195) · Validations · GILLES VINCENT / SPIP WAF · GitLab