]> BookStack Code Mirror - bookstack/blobdiff - tests/UserProfileTest.php
Test for layout selection.
[bookstack] / tests / UserProfileTest.php
index 9518372682cf45867cdd27c811ce04231fcdfbc9..5f402273dadf9d28f6430f3f288badafba5a657c 100644 (file)
@@ -98,7 +98,7 @@ class UserProfileTest extends BrowserKitTest
     public function test_books_display_is_list()
     {
         $this->asAdmin()
-            ->visit('/settings/user/' . $this->user->id)
+            ->visit('/settings/users/' . $this->user->id)
             ->select('books_display', 'List')
             ->press('Save')
             ->visit('/books')
@@ -108,7 +108,7 @@ class UserProfileTest extends BrowserKitTest
     public function test_books_display_is_grid()
     {
         $this->asAdmin()
-            ->visit('/settings/user/' . $this->user->id)
+            ->visit('/settings/users/' . $this->user->id)
             ->select('books_display', 'Grid')
             ->press('Save')
             ->visit('/books')