Skip to content

Commit 805b14f

Browse files
committed
Fix unit test failure
Signed-off-by: Gary O'Neall <[email protected]>
1 parent 0fb6677 commit 805b14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/spdx/library/model/SpdxElementTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected void tearDown() throws Exception {
8383
* @throws InvalidSPDXAnalysisException
8484
*/
8585
public void testVerify() throws InvalidSPDXAnalysisException {
86-
String id = "SpdxRef-elementId";
86+
String id = SpdxConstants.SPDX_ELEMENT_REF_PRENUM + "elementId";
8787
SpdxElement element1 = new GenericSpdxElement(gmo.getModelStore(), gmo.getDocumentUri(), id, gmo.getCopyManager(), true);
8888
assertEquals(0, element1.verify().size());
8989
element1.setName(ELEMENT_NAME1);

0 commit comments

Comments
 (0)