X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/33a2999a57854495fcea8c1acf1b75b04a28a0bf..refs/pull/2393/head:/tests/ActivityTrackingTest.php diff --git a/tests/ActivityTrackingTest.php b/tests/ActivityTrackingTest.php index bb65fbcf4..9c3fe273c 100644 --- a/tests/ActivityTrackingTest.php +++ b/tests/ActivityTrackingTest.php @@ -1,12 +1,14 @@ take(10); + $books = Book::all()->take(10); $this->asAdmin()->visit('/books') ->dontSeeInElement('#recents', $books[0]->name) @@ -20,7 +22,7 @@ class ActivityTrackingTest extends BrowserKitTest 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)