mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-12-23 23:02:08 +03:00
Finished initial implementation of custom role system
This commit is contained in:
@@ -133,12 +133,12 @@ class AuthTest extends TestCase
|
||||
->click('Add new user')
|
||||
->type($user->name, '#name')
|
||||
->type($user->email, '#email')
|
||||
->select(2, '#role')
|
||||
->check('roles[admin]')
|
||||
->type($user->password, '#password')
|
||||
->type($user->password, '#password-confirm')
|
||||
->press('Save')
|
||||
->seeInDatabase('users', $user->toArray())
|
||||
->seePageIs('/settings/users')
|
||||
->seeInDatabase('users', $user->toArray())
|
||||
->see($user->name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user