mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Refactor validations + tech contacts count validation
This commit is contained in:
parent
48e3e716e7
commit
252527c3db
8 changed files with 93 additions and 45 deletions
|
@ -747,8 +747,8 @@ describe 'EPP Domain', epp: true do
|
|||
})
|
||||
|
||||
response = epp_request(xml, :xml)
|
||||
expect(response[:result_code]).to eq('2306')
|
||||
expect(response[:msg]).to eq('Admin contacts count must be between 1 - infinity')
|
||||
expect(response[:result_code]).to eq('2004')
|
||||
expect(response[:msg]).to eq('Admin contacts count must be between 1-10')
|
||||
expect(response[:clTRID]).to eq('ABC-12345')
|
||||
|
||||
expect(Domain.count).to eq 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue