mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Refactor schema checking to custom assertion
This commit is contained in:
parent
920ce907cb
commit
3eb645a590
2 changed files with 8 additions and 4 deletions
|
@ -116,10 +116,7 @@ class EppDomainInfoBaseTest < EppTestCase
|
|||
|
||||
response_xml = Nokogiri::XML(response.body)
|
||||
assert_epp_response :completed_successfully
|
||||
schema = EPP_ALL_SCHEMA
|
||||
|
||||
schema_validation_errors = schema.validate(response_xml)
|
||||
assert_equal 0, schema_validation_errors.size
|
||||
assert_correct_against_schema response_xml
|
||||
end
|
||||
|
||||
def test_returns_valid_response_if_release_prohibited
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue