mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-04 14:13:52 +09:00
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:
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));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user