Skip to content

Commit

Permalink
Fix test data regarding invalid SPDX license ID (CycloneDX#305)
Browse files Browse the repository at this point in the history

closes CycloneDX#303


Signed-off-by: tokcum <tobias.mucke@gmail.com>
  • Loading branch information
tokcum authored and jkowalleck committed Sep 12, 2023
1 parent fac6ff0 commit 0b48361
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tools/src/test/resources/1.1/invalid-license-id-count-1.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</hashes>
<licenses>
<license>
<id>Apache-2</id>
<id>MIT</id>
<!-- This was a defect in schema 1.0 and is no longer permitted -->
<id>Apache-2</id>
<id>MIT</id>
</license>
</licenses>
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>
Expand Down
4 changes: 2 additions & 2 deletions tools/src/test/resources/1.2/invalid-license-id-count-1.2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</hashes>
<licenses>
<license>
<id>Apache-2</id>
<id>MIT</id>
<!-- This was a defect in schema 1.0 and is no longer permitted -->
<id>Apache-2</id>
<id>MIT</id>
</license>
</licenses>
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>
Expand Down
4 changes: 2 additions & 2 deletions tools/src/test/resources/1.3/invalid-license-id-count-1.3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</hashes>
<licenses>
<license>
<id>Apache-2</id>
<id>MIT</id>
<!-- This was a defect in schema 1.0 and is no longer permitted -->
<id>Apache-2</id>
<id>MIT</id>
</license>
</licenses>
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>
Expand Down
4 changes: 2 additions & 2 deletions tools/src/test/resources/1.4/invalid-license-id-count-1.4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</hashes>
<licenses>
<license>
<id>Apache-2</id>
<id>MIT</id>
<!-- This was a defect in schema 1.0 and is no longer permitted -->
<id>Apache-2</id>
<id>MIT</id>
</license>
</licenses>
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>
Expand Down
4 changes: 2 additions & 2 deletions tools/src/test/resources/1.5/invalid-license-id-count-1.5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</hashes>
<licenses>
<license>
<id>Apache-2</id>
<id>MIT</id>
<!-- This was a defect in schema 1.0 and is no longer permitted -->
<id>Apache-2</id>
<id>MIT</id>
</license>
</licenses>
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>
Expand Down

0 comments on commit 0b48361

Please sign in to comment.