Skip to content

Commit

Permalink
fix unit test for on ingestion scanner
Browse files Browse the repository at this point in the history
Signed-off-by: pxp928 <parth.psu@gmail.com>
  • Loading branch information
pxp928 committed Sep 26, 2024
1 parent 1cf334e commit 79b4998
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions pkg/ingestor/parser/common/scanner/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand Down

0 comments on commit 79b4998

Please sign in to comment.