mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Add account after registrar create
This commit is contained in:
parent
c1211a0ac5
commit
f7a4dee1b6
5 changed files with 16 additions and 4 deletions
|
@ -63,6 +63,10 @@ if @api_user2.blank?
|
|||
)
|
||||
end
|
||||
|
||||
Registrar.all.each do |x|
|
||||
x.accounts.where(account_type: Account::CASH, currency: 'EUR').first_or_create!
|
||||
end
|
||||
|
||||
admin1 = {
|
||||
username: 'user1',
|
||||
password: 'testtest',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue