fix testing account

pull/250/head
Pete Matsyburka 2 years ago
parent 525dc503a6
commit 5ee51b2b57

@ -37,6 +37,7 @@ module Accounts
return user if user return user if user
testing_account = account.dup.tap { |a| a.name = "Testing - #{a.name}" } testing_account = account.dup.tap { |a| a.name = "Testing - #{a.name}" }
testing_account.uuid = SecureRandom.uuid
ApplicationRecord.transaction do ApplicationRecord.transaction do
account.testing_accounts << testing_account account.testing_accounts << testing_account

Loading…
Cancel
Save