NIFI-9299 - junit test failure (#5455)

This commit is contained in:
greyp9 2021-10-13 21:10:19 -04:00 committed by GitHub
parent 1b69c1f9f1
commit 507a8f5bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ package org.apache.nifi.components.resource;
import org.junit.jupiter.api.Test;
import java.io.File;
import java.util.Collections;
import java.util.List;
@ -81,7 +82,7 @@ public class TestStandardResourceReferenceFactory {
}
private void assertResourceReference(ResourceReference resourceReference, String location) {
assertEquals(location, resourceReference.getLocation());
assertEquals(new File(location).getAbsolutePath(), resourceReference.getLocation());
assertEquals(ResourceType.FILE, resourceReference.getResourceType());
}