mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Add IP protection for REPP
This commit is contained in:
parent
8321f894d5
commit
abf47b1e08
6 changed files with 39 additions and 6 deletions
|
@ -10,6 +10,7 @@ Fabricator(:registrar) do
|
|||
code { sequence(:code) { |i| "REGISTRAR#{i}" } }
|
||||
reference_no { sequence(:reference_no) { |i| "RF#{i}" } }
|
||||
accounts(count: 1)
|
||||
white_ips { [Fabricate(:white_ip_repp, ipv4: '127.0.0.1')] }
|
||||
end
|
||||
|
||||
Fabricator(:registrar_with_no_account_activities, from: :registrar) do
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
Fabricator(:white_ip) do
|
||||
ipv4 '192.168.1.1'
|
||||
interface WhiteIp::INTERFACE_EPP
|
||||
interface WhiteIp::EPP
|
||||
end
|
||||
|
||||
Fabricator(:white_ip_repp, from: :white_ip) do
|
||||
ipv4 '127.0.0.1'
|
||||
interface WhiteIp::REPP
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue