Skip to content

Commit fd4d383

Browse files
authored
Fix test data regarding invalid SPDX license ID (#305)
closes #303 Signed-off-by: tokcum <tobias.mucke@gmail.com>
1 parent 24ee292 commit fd4d383

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

tools/src/test/resources/1.1/invalid-license-id-count-1.1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
</hashes>
1717
<licenses>
1818
<license>
19-
<id>Apache-2</id>
19+
<id>MIT</id>
2020
<!-- This was a defect in schema 1.0 and is no longer permitted -->
21-
<id>Apache-2</id>
21+
<id>MIT</id>
2222
</license>
2323
</licenses>
2424
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>

tools/src/test/resources/1.2/invalid-license-id-count-1.2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
</hashes>
1717
<licenses>
1818
<license>
19-
<id>Apache-2</id>
19+
<id>MIT</id>
2020
<!-- This was a defect in schema 1.0 and is no longer permitted -->
21-
<id>Apache-2</id>
21+
<id>MIT</id>
2222
</license>
2323
</licenses>
2424
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>

tools/src/test/resources/1.3/invalid-license-id-count-1.3.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
</hashes>
1717
<licenses>
1818
<license>
19-
<id>Apache-2</id>
19+
<id>MIT</id>
2020
<!-- This was a defect in schema 1.0 and is no longer permitted -->
21-
<id>Apache-2</id>
21+
<id>MIT</id>
2222
</license>
2323
</licenses>
2424
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>

tools/src/test/resources/1.4/invalid-license-id-count-1.4.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
</hashes>
1717
<licenses>
1818
<license>
19-
<id>Apache-2</id>
19+
<id>MIT</id>
2020
<!-- This was a defect in schema 1.0 and is no longer permitted -->
21-
<id>Apache-2</id>
21+
<id>MIT</id>
2222
</license>
2323
</licenses>
2424
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>

tools/src/test/resources/1.5/invalid-license-id-count-1.5.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
</hashes>
1717
<licenses>
1818
<license>
19-
<id>Apache-2</id>
19+
<id>MIT</id>
2020
<!-- This was a defect in schema 1.0 and is no longer permitted -->
21-
<id>Apache-2</id>
21+
<id>MIT</id>
2222
</license>
2323
</licenses>
2424
<purl>pkg:maven/com.acme/tomcat-catalina@9.0.14?packaging=jar</purl>

0 commit comments

Comments
 (0)