]> BookStack Code Mirror - bookstack/blobdiff - tests/ActivityTrackingTest.php
Update/fix german translation
[bookstack] / tests / ActivityTrackingTest.php
index 8a237f880d56c2504f7daa020b5bbe64461bff8e..bb65fbcf4b8745ec7d9b39c8e0bd5b20de1cbe71 100644 (file)
@@ -1,13 +1,10 @@
-<?php
+<?php namespace Tests;
 
-use Illuminate\Foundation\Testing\WithoutMiddleware;
-use Illuminate\Foundation\Testing\DatabaseMigrations;
-use Illuminate\Foundation\Testing\DatabaseTransactions;
 
-class ActivityTrackingTest extends TestCase
+class ActivityTrackingTest extends BrowserKitTest
 {
 
-    public function testRecentlyViewedBooks()
+    public function test_recently_viewed_books()
     {
         $books = \BookStack\Book::all()->take(10);
 
@@ -21,7 +18,7 @@ class ActivityTrackingTest extends TestCase
             ->seeInElement('#recents', $books[1]->name);
     }
 
-    public function testPopularBooks()
+    public function test_popular_books()
     {
         $books = \BookStack\Book::all()->take(10);