Fix e2e: consentCategories excludes UNCATEGORISED

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-05-05 11:33:23 +04:00
parent 23e1186f0d
commit 1a410f47fe
2 changed files with 22 additions and 22 deletions

View File

@@ -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) {