Fix for 1 code quality finding in Twig tests (#3855)

Apply suggested fix to tests/Unit/FOSSBilling/Twig/StrictVariablesTest.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
Adam DaleyandCopilot Autofix powered by AI authored and GitHub committed 2026-06-28 09:56:01 +01:00
1 parent e01b33ccfe
commit c5a6c56d4b
1 file changed
+3
@@ -55,6 +55,9 @@ test('all templates render under strict_variables', function (): void {
// such finding fails the test. Test-infra findings are informational
// only and never fail the test.
expect($realBugs)->toBeEmpty("New strict-variables findings detected:\n" . formatFindings($realBugs));
} else {
// No baseline: still assert so failures are never silent.
expect($realBugs)->toBeEmpty("Strict-variables real-bug findings detected (no baseline present):\n" . formatFindings($realBugs));
}
});