Fix e2e: consentCategories excludes UNCATEGORISED
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -198,7 +198,7 @@ func TestCookieBanner_Create(t *testing.T) {
|
||||
kinds[e.Node.Kind] = true
|
||||
}
|
||||
assert.True(t, kinds["NECESSARY"], "should have a NECESSARY category")
|
||||
assert.True(t, kinds["UNCATEGORISED"], "should have an UNCATEGORISED category")
|
||||
assert.False(t, kinds["UNCATEGORISED"], "consentCategories should not include UNCATEGORISED")
|
||||
})
|
||||
|
||||
t.Run("duplicate origin conflict", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user