mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Tests: fixed exptected values
This commit is contained in:
parent
743fb61daf
commit
0c22107b12
3 changed files with 25 additions and 3 deletions
|
@ -20,7 +20,14 @@ class RegistrantApiDomainsTest < ApplicationIntegrationTest
|
|||
|
||||
assert_equal('hospital.test', domain[:name])
|
||||
assert_equal('5edda1a5-3548-41ee-8b65-6d60daf85a37', domain[:id])
|
||||
assert_equal({name: 'John', id: 'eb2f2766-b44c-4e14-9f16-32ab1a7cb957', org: false}, domain[:registrant])
|
||||
assert_equal({:name=>"John",
|
||||
:id=>"eb2f2766-b44c-4e14-9f16-32ab1a7cb957",
|
||||
:ident=>"1234", :ident_type=>"priv",
|
||||
:ident_country_code=>"US",
|
||||
:phone=>"+555.555",
|
||||
:email=>"john@inbox.test",
|
||||
:org=>false},
|
||||
domain[:registrant])
|
||||
assert_equal([{name: 'John',
|
||||
id: 'eb2f2766-b44c-4e14-9f16-32ab1a7cb957',
|
||||
email: 'john@inbox.test'}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue