X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/8e2437498f879f79f222119f8afeacf22f640f3d..refs/pull/261/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();