mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Updated test to have reliable check ordering
This commit is contained in:
parent
3c3c2ae9b5
commit
9502f349a2
@ -133,7 +133,7 @@ class RolesApiTest extends TestCase
|
||||
'description' => $role->description,
|
||||
'mfa_enforced' => $role->mfa_enforced,
|
||||
'external_auth_id' => $role->external_auth_id,
|
||||
'permissions' => $role->permissions()->pluck('name')->toArray(),
|
||||
'permissions' => $role->permissions()->orderBy('name', 'asc')->pluck('name')->toArray(),
|
||||
'users' => $role->users()->get()->map(function (User $user) {
|
||||
return [
|
||||
'id' => $user->id,
|
||||
|
Loading…
Reference in New Issue
Block a user