mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Updated tests to suit layout changes, Updated 404 page
- Also replaced 'or' usage in templates with null coalescing operator
This commit is contained in:
@ -632,8 +632,8 @@ class RolesTest extends BrowserKitTest
|
||||
{
|
||||
$user = \BookStack\Auth\User::first();
|
||||
$this->asAdmin()->visit('/settings/users/' . $user->id)
|
||||
->seeElement('#roles-admin')
|
||||
->seeElement('#roles-public');
|
||||
->seeElement('[name="roles[admin]"]')
|
||||
->seeElement('[name="roles[public]"]');
|
||||
}
|
||||
|
||||
public function test_public_role_visible_in_role_listing()
|
||||
|
Reference in New Issue
Block a user