mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Domain transfer improvements, various test fixes
This commit is contained in:
parent
187316078b
commit
0adca73f88
5 changed files with 44 additions and 19 deletions
17
db/seeds.rb
17
db/seeds.rb
|
@ -7,4 +7,19 @@
|
|||
# Mayor.create(name: 'Emanuel', city: cities.first)
|
||||
|
||||
Country.where(name: 'Estonia', iso: 'EE').first_or_create
|
||||
EppUser.where(username: 'gitlab', password: 'ghyt9e4fu', active: true).first_or_create
|
||||
|
||||
zone = Registrar.where(
|
||||
name: 'Zone Media OÜ',
|
||||
reg_no: '10577829',
|
||||
address: 'Lõõtsa 2, Tallinna linn, Harju maakond, 11415'
|
||||
).first_or_create
|
||||
|
||||
EppUser.where(username: 'zone', password: 'ghyt9e4fu', active: true, registrar: zone).first_or_create
|
||||
|
||||
elkdata = Registrar.where(
|
||||
name: 'Elkdata OÜ',
|
||||
reg_no: '10510593',
|
||||
address: 'Tondi 51-10, 11316 Tallinn'
|
||||
).first_or_create
|
||||
|
||||
EppUser.where(username: 'elkdata', password: '8932iods', active: true, registrar: elkdata).first_or_create
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue