diff --git a/ee/spec/services/sbom/ingestion/tasks/ingest_components_spec.rb b/ee/spec/services/sbom/ingestion/tasks/ingest_components_spec.rb index 61d3b7736e78ea2f20e465b5224dd242b86db9d2..42447b633e19a7761d07589391fd3e876a2fc53d 100644 --- a/ee/spec/services/sbom/ingestion/tasks/ingest_components_spec.rb +++ b/ee/spec/services/sbom/ingestion/tasks/ingest_components_spec.rb @@ -4,7 +4,7 @@ RSpec.describe Sbom::Ingestion::Tasks::IngestComponents, feature_category: :dependency_management do describe '#execute' do - let!(:organization) { create(:organization, :default) } + let!(:organization) { create(:organization) } let_it_be(:pipeline) { create(:ci_pipeline) } diff --git a/ee/spec/services/sbom/ingestion/tasks/ingest_source_packages_spec.rb b/ee/spec/services/sbom/ingestion/tasks/ingest_source_packages_spec.rb index 32c1a0f88bbae7bd363f3f7e1095a0d8079af0e8..3c561f166092c608b705bd35b53b12ae0b036b59 100644 --- a/ee/spec/services/sbom/ingestion/tasks/ingest_source_packages_spec.rb +++ b/ee/spec/services/sbom/ingestion/tasks/ingest_source_packages_spec.rb @@ -4,6 +4,8 @@ RSpec.describe Sbom::Ingestion::Tasks::IngestSourcePackages, feature_category: :dependency_management do describe '#execute' do + let!(:organization) { create(:organization) } + let_it_be(:pipeline) { create(:ci_pipeline) } let_it_be(:occurrence_maps) { build_list(:sbom_occurrence_map, 2, :with_source_package) }