X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/4e71a5a47b97bee59b8afff98b510c4d0d7ead15..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)