Skip to content

NOW MANAGED ON CODEBERG

Test for layout selection.

Nilesh Deepakfd36978c13b7
diff --git a/tests/UserProfileTest.php b/tests/UserProfileTest.php
index 951837268..5f402273d 100644
--- a/tests/UserProfileTest.php
+++ b/tests/UserProfileTest.php
@@ -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')