]> BookStack Code Mirror - bookstack/blobdiff - tests/UserProfileTest.php
Adds test cases and fixes an issue with the permission checking.
[bookstack] / tests / UserProfileTest.php
index 0c66363f0b34a0e8c241108d8675b7a29ca67105..3262117d5009e0bfd5bb8f9aa2b71886fbf4bf6e 100644 (file)
@@ -103,7 +103,7 @@ class UserProfileTest extends BrowserKitTest
         $this->actingAs($editor)
             ->visit('/books')
             ->pageNotHasElement('.featured-image-container')
-            ->pageHasElement('.entity-list-item');
+            ->pageHasElement('.content .entity-list-item');
     }
 
     public function test_books_view_is_grid()