From: Nilesh Deepak Date: Sat, 15 Jul 2017 11:03:52 +0000 (+0530) Subject: Test books display options. X-Git-Tag: v0.19.0~1^2~15^2~14 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/0c70416b5cfe79210efadafbc47145a394c42755 Test books display options. --- diff --git a/tests/UserProfileTest.php b/tests/UserProfileTest.php index 728422810..ebec814c4 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('grid', '#books_display') + ->select('list', '#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('list', '#books_display') + ->select('grid', '#books_display') ->press('Save') ->visit('/books') ->pageNotHasElement('.entity-list-item')