X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/4d4a57d1bfb1c57541d82eb7910a9754fe0fc8cf..refs/pull/2700/head:/tests/BrowserKitTest.php diff --git a/tests/BrowserKitTest.php b/tests/BrowserKitTest.php index 135b9a28e..45e20b5e2 100644 --- a/tests/BrowserKitTest.php +++ b/tests/BrowserKitTest.php @@ -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, '/');