From 5ee51b2b5766bf39ca41da0c9e1861a7c3892c0e Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Sat, 6 Apr 2024 01:20:02 +0300 Subject: [PATCH] fix testing account --- lib/accounts.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/accounts.rb b/lib/accounts.rb index 208ea783..9e6da33e 100644 --- a/lib/accounts.rb +++ b/lib/accounts.rb @@ -37,6 +37,7 @@ module Accounts return user if user testing_account = account.dup.tap { |a| a.name = "Testing - #{a.name}" } + testing_account.uuid = SecureRandom.uuid ApplicationRecord.transaction do account.testing_accounts << testing_account