Fix seeds
The CreateAccount service has moved to a namespace
This commit is contained in:
parent
7df56479a4
commit
a2921297fe
@ -7,7 +7,7 @@ Sidekiq::Testing.inline! do
|
||||
|
||||
puts "Create user: admin"
|
||||
|
||||
CreateAccount.call(account: {
|
||||
UserManager::CreateAccount.call(account: {
|
||||
username: "admin", domain: "kosmos.org", email: "admin@example.com",
|
||||
password: "admin is admin", confirmed: true
|
||||
})
|
||||
@ -20,7 +20,7 @@ Sidekiq::Testing.inline! do
|
||||
email = Faker::Internet.unique.email
|
||||
next if username.length < 3
|
||||
|
||||
CreateAccount.call(account: {
|
||||
UserManager::CreateAccount.call(account: {
|
||||
username: username, domain: "kosmos.org", email: email,
|
||||
password: "user is user", confirmed: true
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user