fix: cover api.Auth

This commit is contained in:
xdrm-brackets 2021-06-20 21:51:34 +02:00 committed by xdrm-brackets
parent 6182276856
commit b4a426adcc
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@ func TestCombination(t *testing.T) {
Active: []string{}, Active: []string{},
Granted: true, Granted: true,
}, },
{
Name: "empty requirements none given",
Required: [][]string{{}},
Active: []string{},
Granted: true,
},
{ {
Name: "no requirement 1 given", Name: "no requirement 1 given",
Required: [][]string{}, Required: [][]string{},