simplify...

This commit is contained in:
tobi 2025-02-25 15:08:03 +01:00
commit 513f4fefed
2 changed files with 11 additions and 22 deletions

View file

@ -84,6 +84,11 @@ func TestScopes(t *testing.T) {
WantsScope: util.ScopeWriteAccounts,
Expect: false,
},
{
HasScope: util.ScopeWriteAccounts,
WantsScope: util.ScopeWrite,
Expect: false,
},
} {
res := test.HasScope.Permits(test.WantsScope)
if res != test.Expect {