chore: add email blocklist unit test

This commit is contained in:
famfo 2025-08-23 01:57:35 +02:00 committed by Earl Warren
commit a511e37572
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
9 changed files with 92 additions and 21 deletions

View file

@ -67,8 +67,3 @@ func TestEmailAddressValidate(t *testing.T) {
})
}
}
func TestEmailDomainAllowList(t *testing.T) {
res := IsEmailDomainAllowed("someuser@localhost.localdomain")
assert.True(t, res)
}