]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/EntityTest.php
Added front-end toggle and testing of inline attachments
[bookstack] / tests / Entity / EntityTest.php
index 3a363e2b87bfeaaa7424946f49acff2556554c7d..52f9a3ae29cdba5e26ef6c13b85abf3bc359620a 100644 (file)
@@ -162,7 +162,7 @@ class EntityTest extends BrowserKitTest
             ->press('Save Book');
 
         $expectedPattern = '/\/books\/my-first-book-[0-9a-zA-Z]{3}/';
-        $this->assertRegExp($expectedPattern, $this->currentUri, "Did not land on expected page [$expectedPattern].\n");
+        $this->assertMatchesRegularExpression($expectedPattern, $this->currentUri, "Did not land on expected page [$expectedPattern].\n");
 
         $book = Book::where('slug', '=', 'my-first-book')->first();
         return $book;