mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
parent
81ea57c523
commit
de6e640f86
3 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,7 @@ class EppDomainDeleteTest < ActionDispatch::IntegrationTest
|
|||
XML
|
||||
|
||||
post '/epp/command/delete', { frame: request_xml }, { 'HTTP_COOKIE' => 'session=api_bestnames' }
|
||||
assert_includes Domain.find_by(name: 'invalid.test').statuses, DomainStatus::PENDING_DELETE_CONFIRMATION
|
||||
assert_equal '1001', Nokogiri::XML(response.body).at_css('result')[:code]
|
||||
assert_equal 1, Nokogiri::XML(response.body).css('result').size
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue