mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 03:42:32 +01:00
Test books display options.
This commit is contained in:
parent
b4044e6c3a
commit
770f30c3a8
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user