mirror of
https://github.com/PrivateCaptcha/PrivateCaptcha.git
synced 2026-02-09 07:19:08 -06:00
Fix tests
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user