mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Fix nameservers nameservers is invalid
This commit is contained in:
parent
35af8c0ba2
commit
537ab46df8
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
Fabricator(:nameserver) do
|
||||
hostname { "ns.#{Faker::Internet.domain_word}.ee" }
|
||||
ipv4 '192.168.1.1'
|
||||
end
|
||||
|
|
|
@ -6,7 +6,7 @@ describe DomainVersion do
|
|||
Setting.ns_min_count = 1
|
||||
Fabricate(:domain, name: 'version.ee', dnskeys: [], domain_contacts: []) do
|
||||
owner_contact { Fabricate(:contact, name: 'owner_contact', code: 'asd', email: 'owner1@v.ee') }
|
||||
nameservers(count: 1) { Fabricate(:nameserver, hostname: 'ns.test.ee') }
|
||||
nameservers(count: 1) { Fabricate(:nameserver, hostname: 'ns.test.ee', ipv4: nil) }
|
||||
admin_contacts(count: 1) { Fabricate(:contact, name: 'admin_contact 1', code: 'qwe', email: 'admin1@v.ee') }
|
||||
tech_contacts(count: 1) { Fabricate(:contact, name: 'tech_contact 1', code: 'zxc', email: 'tech1@v.ee') }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue