mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 01:03:35 +02:00
Validate keyrelay relative and absolute in controller
This commit is contained in:
parent
51978ef38a
commit
938bd75dfa
5 changed files with 28 additions and 4 deletions
|
@ -131,7 +131,7 @@ describe 'EPP Keyrelay', epp: true do
|
|||
})
|
||||
|
||||
response = epp_request(xml, :xml, :elkdata)
|
||||
expect(response[:msg]).to eq('Only one parameter allowed: relative or absolute')
|
||||
expect(response[:msg]).to eq('Exactly one parameter required: expiry > relative or expiry > absolute')
|
||||
|
||||
expect(zone.messages.queued.count).to eq(0)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue