X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/0821672e70cf9eb81091032514634b299cc5900b..refs/pull/2023/head:/tests/ActivityTrackingTest.php diff --git a/tests/ActivityTrackingTest.php b/tests/ActivityTrackingTest.php index 8ee20ab6b..f47bc44a3 100644 --- a/tests/ActivityTrackingTest.php +++ b/tests/ActivityTrackingTest.php @@ -1,15 +1,14 @@ -take(10); + $books = Book::all()->take(10); $this->asAdmin()->visit('/books') ->dontSeeInElement('#recents', $books[0]->name) @@ -23,7 +22,7 @@ class ActivityTrackingTest extends TestCase public function test_popular_books() { - $books = \BookStack\Book::all()->take(10); + $books = Book::all()->take(10); $this->asAdmin()->visit('/books') ->dontSeeInElement('#popular', $books[0]->name)