Add base tests & make domain crID optional

This commit is contained in:
Alex Sherman 2021-06-02 15:34:13 +05:00
parent 3eb645a590
commit f2f56d8350
2 changed files with 5 additions and 5 deletions

View file

@ -41,7 +41,7 @@ xml.epp_head do
xml.tag!('domain:clID', @domain.registrar.code)
xml.tag!('domain:crID', @domain.cr_id)
xml.tag!('domain:crID', @domain.cr_id) if @domain.cr_id.present?
xml.tag!('domain:crDate', @domain.created_at.try(:iso8601))
if @domain.updated_at > @domain.created_at