mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Remove OK status on expire #2622
This commit is contained in:
parent
2af47921f2
commit
1e23641e01
2 changed files with 12 additions and 2 deletions
|
@ -2078,6 +2078,7 @@ describe 'EPP Domain', epp: true do
|
|||
|
||||
domain.domain_statuses.where(value: DomainStatus::EXPIRED).count.should == 1
|
||||
domain.domain_statuses.where(value: DomainStatus::SERVER_HOLD).count.should == 1
|
||||
domain.domain_statuses.where(value: DomainStatus::OK).count.should == 0
|
||||
|
||||
exp_date = domain.valid_to.to_date
|
||||
|
||||
|
@ -2093,6 +2094,7 @@ describe 'EPP Domain', epp: true do
|
|||
|
||||
domain.domain_statuses.where(value: DomainStatus::EXPIRED).count.should == 0
|
||||
domain.domain_statuses.where(value: DomainStatus::SERVER_HOLD).count.should == 0
|
||||
domain.domain_statuses.where(value: DomainStatus::OK).count.should == 1
|
||||
end
|
||||
|
||||
it 'does not renew foreign domain' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue