From: Jenkins Date: Sat, 9 Nov 2019 07:16:07 +0000 (+0000) Subject: Update unit test to match the output of the CRM_Utils_String function X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ddcfa22860282bbd5c16b90257e2a0c29a5cbbd6;p=civicrm-core.git Update unit test to match the output of the CRM_Utils_String function --- diff --git a/tests/phpunit/CRM/Utils/StringTest.php b/tests/phpunit/CRM/Utils/StringTest.php index 76dd0ba51f..7fad15bb2a 100644 --- a/tests/phpunit/CRM/Utils/StringTest.php +++ b/tests/phpunit/CRM/Utils/StringTest.php @@ -405,10 +405,9 @@ class CRM_Utils_StringTest extends CiviUnitTestCase { * @param string $str * An unsafe serialized value. * @dataProvider getBadSerializeExamples - * @expectedException \Exception */ public function testBadSerializeExamples($str) { - CRM_Utils_String::unserialize($str); + $this->assertFalse(CRM_Utils_String::unserialize($str)); } }