Add tests

This commit is contained in:
dinsmol 2021-12-08 23:03:25 +03:00
parent 8ca320244b
commit 77b9d02b5d
2 changed files with 27 additions and 0 deletions

View file

@ -592,6 +592,8 @@ class Domain < ApplicationRecord
def admin_status_update(update)
update_unless_locked_by_registrant(update)
update_not_by_locked_statuses(update)
return unless update
# check for deleted status
statuses.each do |s|
unless update.include? s