Commit 0ece4cc2 authored by Stan Hu's avatar Stan Hu

Merge branch 'fix/jh-test-failure' into 'master'

Fix jh pipeline failure of ci_configuration_service_spec.rb

See merge request gitlab-org/gitlab!81963
parents ccf74e91 029d28b8
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
require 'spec_helper' require 'spec_helper'
RSpec.describe Security::SecurityOrchestrationPolicies::CiConfigurationService do RSpec.describe Security::SecurityOrchestrationPolicies::CiConfigurationService do
include Ci::TemplateHelpers
describe '#execute' do describe '#execute' do
let_it_be(:service) { described_class.new } let_it_be(:service) { described_class.new }
let_it_be(:ci_variables) do let_it_be(:ci_variables) do
...@@ -40,7 +42,7 @@ RSpec.describe Security::SecurityOrchestrationPolicies::CiConfigurationService d ...@@ -40,7 +42,7 @@ RSpec.describe Security::SecurityOrchestrationPolicies::CiConfigurationService d
}, },
variables: { variables: {
GIT_DEPTH: '50', GIT_DEPTH: '50',
SECURE_ANALYZERS_PREFIX: 'registry.gitlab.com/security-products', SECURE_ANALYZERS_PREFIX: secure_analyzers_prefix,
SECRETS_ANALYZER_VERSION: '3', SECRETS_ANALYZER_VERSION: '3',
SECRET_DETECTION_EXCLUDED_PATHS: '', SECRET_DETECTION_EXCLUDED_PATHS: '',
SECRET_DETECTION_HISTORIC_SCAN: 'false' SECRET_DETECTION_HISTORIC_SCAN: 'false'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment