Merge pull request #8281 from colemanw/CRM-18154
[civicrm-core.git] / tests / phpunit / WebTest / Contact / SignatureTest.php
index 6c7498cb463730f222ad194fa371bd236d598a66..4b49fac91721c1c82b139a13c7a9671d8deb0f0c 100644 (file)
@@ -117,7 +117,7 @@ class WebTest_Contact_SignatureTest extends CiviSeleniumTestCase {
       $this->selectFrame("xpath=//iframe[@id='{$fieldName}_ifr']");
     }
 
-    $this->verifyText('//html/body', preg_quote("{$signature}"));
+    $this->assertElementContainsText("//html/body", "$signature");
     $this->selectFrame('relative=top');
   }