From 38cce953232fb13129d966a8ab1a70c570e59a9d Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 1 Nov 2022 16:14:55 -0400 Subject: [PATCH] Test - Fix backwards params to assertEquals --- tests/phpunit/Civi/Angular/PartialSyntaxTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/Civi/Angular/PartialSyntaxTest.php b/tests/phpunit/Civi/Angular/PartialSyntaxTest.php index 81ff60477e..51e7087603 100644 --- a/tests/phpunit/Civi/Angular/PartialSyntaxTest.php +++ b/tests/phpunit/Civi/Angular/PartialSyntaxTest.php @@ -94,7 +94,7 @@ class PartialSyntaxTest extends \CiviUnitTestCase { $count++; if (!$coder->checkConsistentHtml($html)) { $recodedHtml = $coder->recode($html); - $this->assertEquals($html, $recodedHtml, "File $path has inconsistent HTML. Use tools/scripts/check-angular.php to debug. "); + $this->assertEquals($recodedHtml, $html, "File $path has inconsistent HTML. Use tools/scripts/check-angular.php to debug. "); } } } -- 2.25.1