Skip to content

Commit

Permalink
Fixing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett committed Mar 7, 2022
1 parent 1e0551d commit 37ddecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/cyclonedx/util/LicenseResolverTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public void parseLicenseByUrlTest() {
LicenseChoice l3 = LicenseResolver.resolve("https://www.opensource.org/licenses/MIT");
LicenseChoice l4 = LicenseResolver.resolve("https://www.opensource.org/licenses/Apache-2.0");
LicenseChoice l5 = LicenseResolver.resolve("https://www.apache.org/licenses/LICENSE-2.0");
assertEquals("GPL-3.0-only", l1.getLicenses().get(0).getId());
assertEquals("GPL-3.0-only", l2.getLicenses().get(0).getId());
assertEquals("GPL-3.0-or-later", l1.getLicenses().get(0).getId());
assertEquals("GPL-3.0-or-later", l2.getLicenses().get(0).getId());
assertEquals("MIT", l3.getLicenses().get(0).getId());
assertEquals("Apache-2.0", l4.getLicenses().get(0).getId());
assertEquals("Apache-2.0", l5.getLicenses().get(0).getId());
Expand Down

0 comments on commit 37ddecb

Please sign in to comment.