mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 06:26:15 +02:00
Updated REPP API for new registrar portal
This commit is contained in:
parent
e17b21436d
commit
a5ffce290d
61 changed files with 1269 additions and 408 deletions
|
@ -15,7 +15,7 @@ class ReppV1DomainsListTest < ActionDispatch::IntegrationTest
|
|||
|
||||
assert_response :ok
|
||||
|
||||
assert_equal @user.registrar.domains.count, json[:data][:total_number_of_records]
|
||||
assert_equal @user.registrar.domains.count, json[:data][:count]
|
||||
assert_equal @user.registrar.domains.count, json[:data][:domains].length
|
||||
|
||||
assert json[:data][:domains][0].is_a? String
|
||||
|
@ -27,7 +27,7 @@ class ReppV1DomainsListTest < ActionDispatch::IntegrationTest
|
|||
|
||||
assert_response :ok
|
||||
|
||||
assert_equal @user.registrar.domains.count, json[:data][:total_number_of_records]
|
||||
assert_equal @user.registrar.domains.count, json[:data][:count]
|
||||
assert_equal @user.registrar.domains.count, json[:data][:domains].length
|
||||
|
||||
assert json[:data][:domains][0].is_a? Hash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue