From a94f70990197160098d92d509e7fba134c2f62d6 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Sun, 17 Sep 2023 10:23:12 -0400 Subject: [PATCH] regexp --- tests/phpunit/CRM/Core/Smarty/plugins/UrlTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Core/Smarty/plugins/UrlTest.php b/tests/phpunit/CRM/Core/Smarty/plugins/UrlTest.php index b9a2141391..41d74a3f58 100644 --- a/tests/phpunit/CRM/Core/Smarty/plugins/UrlTest.php +++ b/tests/phpunit/CRM/Core/Smarty/plugins/UrlTest.php @@ -86,7 +86,7 @@ class CRM_Core_Smarty_plugins_UrlTest extends CiviUnitTestCase { public function testUrl($expected, $input) { $smarty = CRM_Core_Smarty::singleton(); $actual = $smarty->fetch('string:' . $input); - $this->assertRegExp($expected, $actual, "Process input=[$input]"); + $this->assertMatchesRegularExpression($expected, $actual, "Process input=[$input]"); } } -- 2.25.1