]> BookStack Code Mirror - bookstack/commitdiff
Test books display options.
authorNilesh Deepak <redacted>
Sat, 15 Jul 2017 11:03:52 +0000 (16:33 +0530)
committerNilesh Deepak <redacted>
Sat, 15 Jul 2017 11:03:52 +0000 (16:33 +0530)
tests/UserProfileTest.php

index 728422810459c691c78f4acfc9ef18f9454eeb70..ebec814c4e549746ca8edaeb2e0b6df69c2c8bb9 100644 (file)
@@ -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')
Morty Proxy This is a proxified and sanitized view of the page, visit original site.