Skip to content

Commit e7b6ea2

Browse files
authored
chore: update tests for new library version (#453)
Signed-off-by: MTsfoni <[email protected]>
1 parent af87362 commit e7b6ea2

File tree

3 files changed

+7
-32
lines changed

3 files changed

+7
-32
lines changed

tests/cyclonedx.tests/__snapshots__/ConvertTests.ConvertToSpdxJson_autodetect.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"downloadLocation": "https://search.maven.org/remotecontent?filepath=org/apache/jena/apache-jena/3.12.0/apache-jena-3.12.0.tar.gz",
142142
"externalRefs": [
143143
{
144-
"referenceCategory": "PACKAGE_MANAGER",
144+
"referenceCategory": "PACKAGE-MANAGER",
145145
"referenceLocator": "pkg:maven/org.apache.jena/[email protected]",
146146
"referenceType": "purl"
147147
}

tests/cyclonedx.tests/__snapshots__/ConvertTests.ConvertToSpdxJson_spdxjson.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"downloadLocation": "https://search.maven.org/remotecontent?filepath=org/apache/jena/apache-jena/3.12.0/apache-jena-3.12.0.tar.gz",
142142
"externalRefs": [
143143
{
144-
"referenceCategory": "PACKAGE_MANAGER",
144+
"referenceCategory": "PACKAGE-MANAGER",
145145
"referenceLocator": "pkg:maven/org.apache.jena/[email protected]",
146146
"referenceType": "purl"
147147
}

tests/cyclonedx.tests/__snapshots__/MergeTests.Merge_Flat_sbom1.xml_sbom2.xml_autodetect_sbom.json_autodetect_.snap

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,55 +5,30 @@
55
"metadata": {
66
"component": {
77
"type": "application",
8-
"authors": [],
98
"name": "thing1",
10-
"version": "1",
11-
"omniborId": [],
12-
"swhid": [],
13-
"data": [],
14-
"tags": []
9+
"version": "1"
1510
}
1611
},
1712
"components": [
1813
{
1914
"type": "library",
20-
"authors": [],
2115
"name": "acme-library",
22-
"version": "1.0.0",
23-
"omniborId": [],
24-
"swhid": [],
25-
"data": [],
26-
"tags": []
16+
"version": "1.0.0"
2717
},
2818
{
2919
"type": "application",
30-
"authors": [],
3120
"name": "thing1",
32-
"version": "1",
33-
"omniborId": [],
34-
"swhid": [],
35-
"data": [],
36-
"tags": []
21+
"version": "1"
3722
},
3823
{
3924
"type": "framework",
40-
"authors": [],
4125
"name": "acme-framework",
42-
"version": "1.0.0",
43-
"omniborId": [],
44-
"swhid": [],
45-
"data": [],
46-
"tags": []
26+
"version": "1.0.0"
4727
},
4828
{
4929
"type": "application",
50-
"authors": [],
5130
"name": "thing2",
52-
"version": "1",
53-
"omniborId": [],
54-
"swhid": [],
55-
"data": [],
56-
"tags": []
31+
"version": "1"
5732
}
5833
],
5934
"vulnerabilities": []

0 commit comments

Comments
 (0)