Fix bulk NS change IP validation

This commit is contained in:
Karl Erik Õunapuu 2021-02-18 13:00:49 +02:00
parent e71ea05fb4
commit 082d287401
No known key found for this signature in database
GPG key ID: C9DD647298A34764
2 changed files with 4 additions and 4 deletions

View file

@ -95,7 +95,7 @@ class ReppV1RegistrarNameserversTest < ActionDispatch::IntegrationTest
assert_response :bad_request
assert_equal 2005, json[:code]
assert_equal 'IPv4 should be array [ipv4]', json[:message]
assert json[:message].include? 'Must be an array of String'
end
def test_ipv6_isnt_array
@ -118,7 +118,7 @@ class ReppV1RegistrarNameserversTest < ActionDispatch::IntegrationTest
assert_response :bad_request
assert_equal 2005, json[:code]
assert_equal 'IPv6 should be array [ipv6]', json[:message]
assert json[:message].include? 'Must be an array of String'
end
def test_bulk_nameservers_change_in_array_of_domains