mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-27 04:32:14 +00:00
Merge branch 'master' of https://github.com/OsmosysSoftware/BookStack
This commit is contained in:
commit
e5dc0e6bb8
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user