diff --git a/spec/sql/switch22/route_spec.rb b/spec/sql/switch22/route_spec.rb index 938c0f053..f45465d30 100644 --- a/spec/sql/switch22/route_spec.rb +++ b/spec/sql/switch22/route_spec.rb @@ -4501,6 +4501,7 @@ def routing_sp context 'SRC Number format validation enabled' do let(:validate_src_number_format) { true } + let(:customer_auth_privacy_mode_id) { CustomersAuth::PRIVACY_MODE_ALLOW } context 'Number is valid' do let(:from_name) { '3809611111111' } diff --git a/spec/support/contexts/importing_data/init_importing_customers_auth.rb b/spec/support/contexts/importing_data/init_importing_customers_auth.rb index ba34d1a35..82f1c50cd 100644 --- a/spec/support/contexts/importing_data/init_importing_customers_auth.rb +++ b/spec/support/contexts/importing_data/init_importing_customers_auth.rb @@ -31,6 +31,10 @@ diversion_policy_id: CustomersAuth::DIVERSION_POLICY_NOT_ACCEPT, diversion_rewrite_rule: '', diversion_rewrite_result: '', + pai_policy_name: CustomersAuth::PAI_POLICIES[CustomersAuth::PAI_POLICY_ACCEPT], + pai_policy_id: CustomersAuth::PAI_POLICY_ACCEPT, + pai_rewrite_rule: '', + pai_rewrite_result: '', is_changed: true }.merge(args)