From c4c648c2a658bb2e7630982e96f5ffb97019461d Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Mon, 6 Jul 2026 23:44:59 +0100 Subject: [PATCH] Fixes for 2 code quality findings in Twig EdgeCaseRendering tests (#3916) * Apply suggested fix to tests/Unit/FOSSBilling/Twig/EdgeCaseRenderingTest.php from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> * Apply suggested fix to tests/Unit/FOSSBilling/Twig/EdgeCaseRenderingTest.php from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- tests/Unit/FOSSBilling/Twig/EdgeCaseRenderingTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Unit/FOSSBilling/Twig/EdgeCaseRenderingTest.php b/tests/Unit/FOSSBilling/Twig/EdgeCaseRenderingTest.php index 5e2ce59fd..b560e0902 100644 --- a/tests/Unit/FOSSBilling/Twig/EdgeCaseRenderingTest.php +++ b/tests/Unit/FOSSBilling/Twig/EdgeCaseRenderingTest.php @@ -309,7 +309,7 @@ test('activity index renders a mixed list of all three event shapes', function ( 'pages' => 1, 'per_page' => 25, 'page' => 1, - 'total' => 1, + 'total' => 3, ], ]), ], @@ -490,6 +490,7 @@ test('support admin ticket renders admin and client messages, including an edite expect($html)->not->toContain('editMessage1'); expect($html)->toContain('messageHistory3'); expect($html)->not->toContain('messageHistory2'); + expect($html)->not->toContain('messageHistory1'); }); test('support admin ticket renders with a related order and a note', function (): void {