From b4a426adccfbc78a54f61cce4251a898f3169193 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 20 Jun 2021 21:51:34 +0200 Subject: [PATCH] fix: cover api.Auth --- api/auth_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/auth_test.go b/api/auth_test.go index a230b59..969ec35 100644 --- a/api/auth_test.go +++ b/api/auth_test.go @@ -17,6 +17,12 @@ func TestCombination(t *testing.T) { Active: []string{}, Granted: true, }, + { + Name: "empty requirements none given", + Required: [][]string{{}}, + Active: []string{}, + Granted: true, + }, { Name: "no requirement 1 given", Required: [][]string{},