From 79b4998ba88ac7359c928965c76d8b3be40d76a1 Mon Sep 17 00:00:00 2001 From: pxp928 Date: Thu, 26 Sep 2024 16:16:09 -0400 Subject: [PATCH] fix unit test for on ingestion scanner Signed-off-by: pxp928 --- .../parser/common/scanner/scanner_test.go | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/pkg/ingestor/parser/common/scanner/scanner_test.go b/pkg/ingestor/parser/common/scanner/scanner_test.go index 57851627ec..37779dacac 100644 --- a/pkg/ingestor/parser/common/scanner/scanner_test.go +++ b/pkg/ingestor/parser/common/scanner/scanner_test.go @@ -373,27 +373,6 @@ func TestPurlsLicenseScan(t *testing.T) { Collector: "clearlydefined", }, }, - { - Src: &generated.SourceInputSpec{ - Type: "sourcearchive", - Namespace: "org.apache.logging.log4j", - Name: "log4j-core", - Tag: ptrfrom.String("2.8.1"), - }, - Declared: []generated.LicenseInputSpec{}, - Discovered: []generated.LicenseInputSpec{ - {Name: "Apache-2.0", ListVersion: &lvUnknown}, - {Name: "NOASSERTION", ListVersion: &lvUnknown}, - }, - CertifyLegal: &generated.CertifyLegalInputSpec{ - DiscoveredLicense: "Apache-2.0 AND NOASSERTION", - Attribution: "Copyright 2005-2006 Tim Fennell,Copyright 1999-2012 Apache Software Foundation,Copyright 1999-2005 The Apache Software Foundation", - Justification: "Retrieved from ClearlyDefined", - TimeScanned: tm, - Origin: "clearlydefined", - Collector: "clearlydefined", - }, - }, }, wantHSAs: []assembler.HasSourceAtIngest{ {