1
0
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:
Dan Brown
2019-04-06 18:36:17 +01:00
parent 67ed4710b6
commit 7cda9b026e
14 changed files with 72 additions and 78 deletions

View File

@ -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()