mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-22 17:52:30 +01:00
TestManager_UserManagement: move the longest rule on top
This commit is contained in:
parent
afd6d2e0ee
commit
543709336c
1 changed files with 1 additions and 1 deletions
|
@ -227,10 +227,10 @@ func TestManager_UserManagement(t *testing.T) {
|
|||
benGrants, err := a.Grants("ben")
|
||||
require.Nil(t, err)
|
||||
require.Equal(t, []Grant{
|
||||
{"everyonewrite", PermissionDenyAll},
|
||||
{"mytopic", PermissionReadWrite},
|
||||
{"writeme", PermissionWrite},
|
||||
{"readme", PermissionRead},
|
||||
{"everyonewrite", PermissionDenyAll},
|
||||
}, benGrants)
|
||||
|
||||
everyone, err := a.User(Everyone)
|
||||
|
|
Loading…
Reference in a new issue