From 832f8eaa9492c27aec2d2e058d36c3fc4f9122fa Mon Sep 17 00:00:00 2001 From: abijeetp Date: Sat, 15 Jul 2017 15:50:42 +0530 Subject: [PATCH] Fixes the test case related to UserProfileTest. --- tests/UserProfileTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/UserProfileTest.php b/tests/UserProfileTest.php index 25edfbf5e..09870e138 100644 --- a/tests/UserProfileTest.php +++ b/tests/UserProfileTest.php @@ -94,12 +94,12 @@ class UserProfileTest extends BrowserKitTest ->seePageIs('/settings/users/' . $guestUser->id) ->see('cannot delete the guest user'); } - + public function test_books_display_is_list() { $this->asAdmin() ->visit('/settings/users/' . $this->user->id) - ->select('#books_display', 'List') + ->select('grid', '#books_display') ->press('Save') ->visit('/books') ->pageHasElement('.entity-list-item'); @@ -109,7 +109,7 @@ class UserProfileTest extends BrowserKitTest { $this->asAdmin() ->visit('/settings/users/' . $this->user->id) - ->select('#books_display', 'Grid') + ->select('list', '#books_display') ->press('Save') ->visit('/books') ->pageHasElement('.gallery-item');