mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 22:23:49 +08:00
Merge pull request #10 from OsmosysSoftware/test-issue-181
Tests for issue 181
This commit is contained in:
commit
3435dcc91e
|
@ -99,7 +99,7 @@ class UserProfileTest extends BrowserKitTest
|
|||
{
|
||||
$this->asAdmin()
|
||||
->visit('/settings/users/' . $this->user->id)
|
||||
->select('books_display', 'List')
|
||||
->select('#books_display', 'List')
|
||||
->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('#books_display', 'Grid')
|
||||
->press('Save')
|
||||
->visit('/books')
|
||||
->pageHasElement('.gallery-item');
|
||||
|
|
Loading…
Reference in New Issue
Block a user