mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 15:34:41 +02:00
Fix tests
This commit is contained in:
parent
e159821a86
commit
944aba563c
4 changed files with 31 additions and 22 deletions
|
@ -12,9 +12,12 @@ module EmailVerifable
|
|||
end
|
||||
|
||||
def need_to_start_force_delete?
|
||||
flag = false
|
||||
ValidationEvent::INVALID_EVENTS_COUNT_BY_LEVEL.each do |level, count|
|
||||
validation_events.count >= count && validate_email_data(level: level, count: count)
|
||||
flag = true if validation_events.count >= count && validate_email_data(level: level, count: count)
|
||||
end
|
||||
|
||||
flag
|
||||
end
|
||||
|
||||
def need_to_lift_force_delete?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue