From 770f30c3a88ace436a5cf46d6991b73531e2a46f Mon Sep 17 00:00:00 2001 From: Nilesh Deepak Date: Sat, 15 Jul 2017 16:29:42 +0530 Subject: [PATCH] Test books display options. --- tests/UserProfileTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/UserProfileTest.php b/tests/UserProfileTest.php index c87a7b88a..728422810 100644 --- a/tests/UserProfileTest.php +++ b/tests/UserProfileTest.php @@ -99,7 +99,7 @@ class UserProfileTest extends BrowserKitTest { $this->asAdmin() ->visit('/settings/users/' . $this->user->id) - ->select('#books_display', 'List') + ->select('grid', '#books_display') ->press('Save') ->visit('/books') ->pageNotHasElement('.gallery-item') @@ -110,7 +110,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') ->pageNotHasElement('.entity-list-item')