mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Change contacts.name
database column to NOT NULL
This commit is contained in:
parent
b4be9e7f00
commit
22c6fd61e3
5 changed files with 14 additions and 8 deletions
|
@ -18,8 +18,8 @@ class DomainVersionsTest < ApplicationSystemTestCase
|
|||
|
||||
def create_domain_with_history
|
||||
sql = <<-SQL.squish
|
||||
INSERT INTO contacts (id, code, email, auth_info, registrar_id)
|
||||
VALUES (54, 'test_code', 'test@inbox.test', '8b4d462aa04194ca78840a', #{@registrar.id});
|
||||
INSERT INTO contacts (id, name, code, email, auth_info, registrar_id)
|
||||
VALUES (54, 'test_code', 'test_name', 'test@inbox.test', '8b4d462aa04194ca78840a', #{@registrar.id});
|
||||
|
||||
INSERT INTO domains (id, name, name_puny, name_dirty, registrar_id, valid_to, registrant_id,
|
||||
transfer_code)
|
||||
|
@ -59,4 +59,4 @@ class DomainVersionsTest < ApplicationSystemTestCase
|
|||
assert_text 'Best Names'
|
||||
assert_text '23.04.18, 18:50 update 1-AdminUser'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue