Add tests & fixes for epp contact

This commit is contained in:
Alex Sherman 2021-06-03 12:56:18 +05:00
parent 860c3c8008
commit 7163695ad1
10 changed files with 84 additions and 29 deletions

View file

@ -21,7 +21,7 @@ module UserEvents
Registrar.find(cr_registrar_id).code
else
# cr_id optional for domain, but required for contact; but we want something here anyway
self.creator_str # Fallback if we failed, maybe we can find a string here
self.creator_str || self.registrar.code # Fallback
end
end
end