Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
Signed-off-by: cpendery <cpendery@vt.edu>
  • Loading branch information
cpendery committed Jun 30, 2022
1 parent 718d709 commit a00c530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions syft/pkg/cataloger/java/parse_pom_xml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ func Test_parserPomXML(t *testing.T) {
Type: pkg.JavaPkg,
MetadataType: pkg.JavaMetadataType,
Metadata: pkg.JavaMetadata{
PURL: "pkg:maven/joda/joda-time@2.9.2",
PomProperties: &pkg.PomProperties{
GroupID: "joda",
},
PURL: "pkg:maven/com.joda/joda-time@2.9.2",
},
},
{
Expand All @@ -41,9 +38,6 @@ func Test_parserPomXML(t *testing.T) {
MetadataType: pkg.JavaMetadataType,
Metadata: pkg.JavaMetadata{
PURL: "pkg:maven/junit/junit@4.12",
PomProperties: &pkg.PomProperties{
GroupID: "junit",
},
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion syft/pkg/cataloger/java/test-fixtures/pom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dependencies>
<!-- tag::joda[] -->
<dependency>
<groupId>joda</groupId>
<groupId>com.joda</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.2</version>
</dependency>
Expand Down

0 comments on commit a00c530

Please sign in to comment.