X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/46c01ecba25e5e925e72f65b182fa94a1fa17703..refs/pull/438/head:/tests/Entity/EntitySearchTest.php diff --git a/tests/Entity/EntitySearchTest.php b/tests/Entity/EntitySearchTest.php index 9f77972c4..94e28e944 100644 --- a/tests/Entity/EntitySearchTest.php +++ b/tests/Entity/EntitySearchTest.php @@ -42,7 +42,7 @@ class EntitySearchTest extends TestCase public function test_book_search() { - $book = \BookStack\Book::all()->first(); + $book = \BookStack\Book::first(); $page = $book->pages->last(); $chapter = $book->chapters->last();