Test for layout selection.

This commit is contained in:
Nilesh Deepak 2017-07-15 12:26:57 +05:30
parent 1278a0b818
commit fd36978c13

View File

@ -98,7 +98,7 @@ class UserProfileTest extends BrowserKitTest
public function test_books_display_is_list() public function test_books_display_is_list()
{ {
$this->asAdmin() $this->asAdmin()
->visit('/settings/user/' . $this->user->id) ->visit('/settings/users/' . $this->user->id)
->select('books_display', 'List') ->select('books_display', 'List')
->press('Save') ->press('Save')
->visit('/books') ->visit('/books')
@ -108,7 +108,7 @@ class UserProfileTest extends BrowserKitTest
public function test_books_display_is_grid() public function test_books_display_is_grid()
{ {
$this->asAdmin() $this->asAdmin()
->visit('/settings/user/' . $this->user->id) ->visit('/settings/users/' . $this->user->id)
->select('books_display', 'Grid') ->select('books_display', 'Grid')
->press('Save') ->press('Save')
->visit('/books') ->visit('/books')