fix: cover api.Auth
This commit is contained in:
parent
6182276856
commit
b4a426adcc
|
@ -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{},
|
||||||
|
|
Loading…
Reference in New Issue