From fd36978c13b74442d923cd39fba09bb4bec7751c Mon Sep 17 00:00:00 2001 From: Nilesh Deepak Date: Sat, 15 Jul 2017 12:26:57 +0530 Subject: [PATCH] Test for layout selection. --- tests/UserProfileTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')