Skip to content

Commit

Permalink
Corrected issue introduced in merge
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Springett <[email protected]>
  • Loading branch information
stevespringett committed May 14, 2024
1 parent cfd7d0f commit 43630f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/test/java/org/cyclonedx/parsers/XmlParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package org.cyclonedx.parsers;

import org.cyclonedx.CycloneDxSchema;
import org.cyclonedx.CycloneDxSchema.Version;
import org.cyclonedx.Version;
import org.cyclonedx.model.Bom;
import org.cyclonedx.model.Component;
Expand Down Expand Up @@ -76,7 +75,6 @@
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;

public class XmlParserTest
extends AbstractParserTest
Expand Down Expand Up @@ -172,7 +170,7 @@ private void testPedigreeFromExample(final Pedigree pedigree) {
public void testValid12BomWithMetadataPedigree() throws Exception {
final File file = new File(Objects.requireNonNull(this.getClass().getResource("/bom-1.2-metadata-pedigree.xml")).getFile());
final XmlParser parser = new XmlParser();
final boolean valid = parser.isValid(file, CycloneDxSchema.Version.VERSION_12);
final boolean valid = parser.isValid(file, Version.VERSION_12);
assertTrue(valid);

final Bom bom = parser.parse(file);
Expand Down

0 comments on commit 43630f1

Please sign in to comment.