Fix tests

This commit is contained in:
Taras Kushnir
2026-01-10 12:01:07 +02:00
parent 341d071c65
commit 79965c7e72

View File

@@ -1620,10 +1620,10 @@ func TestOrgMembersShowsEmailInvites(t *testing.T) {
foundExistingUser := false
foundEmailInvite := false
for _, m := range renderCtx.Members {
if m.Email == existingUser.Email {
if m.Email == common.MaskEmail(existingUser.Email, '*') {
foundExistingUser = true
}
if m.Email == emailInvite {
if m.Email == common.MaskEmail(emailInvite, '*') {
foundEmailInvite = true
}
}