mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
Fix tests #2713
This commit is contained in:
parent
c6073c7e87
commit
b5afff1c79
4 changed files with 3 additions and 7 deletions
|
@ -201,7 +201,6 @@ ActiveRecord::Schema.define(version: 20150915094707) do
|
||||||
t.integer "legacy_id"
|
t.integer "legacy_id"
|
||||||
t.string "statuses", array: true
|
t.string "statuses", array: true
|
||||||
t.hstore "status_notes"
|
t.hstore "status_notes"
|
||||||
t.integer "legacy_history_id"
|
|
||||||
t.integer "copy_from_id"
|
t.integer "copy_from_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -597,7 +597,6 @@ CREATE TABLE contacts (
|
||||||
legacy_id integer,
|
legacy_id integer,
|
||||||
statuses character varying[],
|
statuses character varying[],
|
||||||
status_notes hstore,
|
status_notes hstore,
|
||||||
legacy_history_id integer,
|
|
||||||
copy_from_id integer
|
copy_from_id integer
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -4930,8 +4929,6 @@ INSERT INTO schema_migrations (version) VALUES ('20150810114746');
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version) VALUES ('20150825125118');
|
INSERT INTO schema_migrations (version) VALUES ('20150825125118');
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version) VALUES ('20150827151906');
|
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version) VALUES ('20150910113839');
|
INSERT INTO schema_migrations (version) VALUES ('20150910113839');
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version) VALUES ('20150915094707');
|
INSERT INTO schema_migrations (version) VALUES ('20150915094707');
|
||||||
|
|
|
@ -9,7 +9,7 @@ Fabricator(:registrar) do
|
||||||
country_code 'EE'
|
country_code 'EE'
|
||||||
code { sequence(:code) { |i| "REGISTRAR#{i}" } }
|
code { sequence(:code) { |i| "REGISTRAR#{i}" } }
|
||||||
reference_no { sequence(:reference_no) { |i| "RF#{i}" } }
|
reference_no { sequence(:reference_no) { |i| "RF#{i}" } }
|
||||||
white_ips { [Fabricate(:white_ip), Fabricate(:white_ip, interface: WhiteIp::REGISTRAR)] }
|
white_ips { [Fabricate(:white_ip), Fabricate(:white_ip, interfaces: [WhiteIp::REGISTRAR])] }
|
||||||
end
|
end
|
||||||
|
|
||||||
Fabricator(:registrar_with_no_account_activities, from: :registrar) do
|
Fabricator(:registrar_with_no_account_activities, from: :registrar) do
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
Fabricator(:white_ip) do
|
Fabricator(:white_ip) do
|
||||||
ipv4 '127.0.0.1'
|
ipv4 '127.0.0.1'
|
||||||
interface WhiteIp::API
|
interfaces [WhiteIp::API]
|
||||||
end
|
end
|
||||||
|
|
||||||
Fabricator(:white_ip_registrar, from: :white_ip) do
|
Fabricator(:white_ip_registrar, from: :white_ip) do
|
||||||
interface WhiteIp::REGISTRAR
|
interfaces [WhiteIp::REGISTRAR]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue