Merge pull request #15316 from mepps/order-campaign-dashboard
[civicrm-core.git] / tests / phpunit / CRM / Utils / StringTest.php
index 76dd0ba51fdd08ba494e742fc3cea6a758b561b3..7fad15bb2aab1a8156ffedaeaa864b6faf06fe7c 100644 (file)
@@ -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));
   }
 
 }