Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
stgrace authored and goneall committed Jan 28, 2025
1 parent 8fcb0fa commit 22e0b8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void testDependenciesExclTestScope() throws Exception

Set<String> packages = new HashSet<>();
Set<String> relationships = new HashSet<>();
SpdxModelFactory.getElements( result.getModelStore(), result.getDocumentUri(), result.getCopyManager(), SpdxPackage.class )
SpdxModelFactory.getSpdxObjects( result.getModelStore(), result.getCopyManager(), SpdxConstantsCompatV2.CLASS_SPDX_PACKAGE, null, result.getIdPrefix() )
.forEach( ( element ) -> {
SpdxPackage pkg = (SpdxPackage) element;
try
Expand Down

0 comments on commit 22e0b8e

Please sign in to comment.