diff --git a/db/seeds.rb b/db/seeds.rb index 5153b2b..9a91f9a 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -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 })