From 70cb03647bdd32879b7d07a309d7237f93832032 Mon Sep 17 00:00:00 2001 From: OJ Bucao Date: Fri, 20 Dec 2024 11:21:53 -0800 Subject: [PATCH] (fix) Remove mock encrypted_kms_key from AR POA Request factories --- .../spec/factories/power_of_attorney_form.rb | 1 - .../spec/factories/power_of_attorney_request_resolution.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/accredited_representative_portal/spec/factories/power_of_attorney_form.rb b/modules/accredited_representative_portal/spec/factories/power_of_attorney_form.rb index 779efce161d..adb3cb7f3ca 100644 --- a/modules/accredited_representative_portal/spec/factories/power_of_attorney_form.rb +++ b/modules/accredited_representative_portal/spec/factories/power_of_attorney_form.rb @@ -7,6 +7,5 @@ city_bidx { Faker::Alphanumeric.alphanumeric(number: 44) } state_bidx { Faker::Alphanumeric.alphanumeric(number: 44) } zipcode_bidx { Faker::Alphanumeric.alphanumeric(number: 44) } - encrypted_kms_key { SecureRandom.hex(16) } end end diff --git a/modules/accredited_representative_portal/spec/factories/power_of_attorney_request_resolution.rb b/modules/accredited_representative_portal/spec/factories/power_of_attorney_request_resolution.rb index 20798bf1d54..189eb10cd37 100644 --- a/modules/accredited_representative_portal/spec/factories/power_of_attorney_request_resolution.rb +++ b/modules/accredited_representative_portal/spec/factories/power_of_attorney_request_resolution.rb @@ -7,7 +7,6 @@ resolving_id { SecureRandom.uuid } reason_ciphertext { 'Encrypted Reason' } created_at { Time.current } - encrypted_kms_key { SecureRandom.hex(16) } trait :with_expiration do resolving_type { 'AccreditedRepresentativePortal::PowerOfAttorneyRequestExpiration' }