]> BookStack Code Mirror - bookstack/blobdiff - tests/BrowserKitTest.php
Add base64 image support
[bookstack] / tests / BrowserKitTest.php
index 135b9a28e0d19af2dbc6820d6de0a89a90dc7996..45e20b5e284aad7875b9b8e05abe534efea523de 100644 (file)
@@ -119,7 +119,7 @@ abstract class BrowserKitTest extends TestCase
      */
     protected function seeInNthElement($element, $position, $text, $negate = false)
     {
-        $method = $negate ? 'assertNotRegExp' : 'assertRegExp';
+        $method = $negate ? 'assertDoesNotMatchRegularExpression' : 'assertMatchesRegularExpression';
 
         $rawPattern = preg_quote($text, '/');