mirror of
https://github.com/apache/nifi.git
synced 2025-02-09 11:35:05 +00:00
NIFI-9299 - junit test failure (#5455)
This commit is contained in:
parent
1b69c1f9f1
commit
507a8f5bc3
@ -19,6 +19,7 @@ package org.apache.nifi.components.resource;
|
|||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -81,7 +82,7 @@ public class TestStandardResourceReferenceFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void assertResourceReference(ResourceReference resourceReference, String location) {
|
private void assertResourceReference(ResourceReference resourceReference, String location) {
|
||||||
assertEquals(location, resourceReference.getLocation());
|
assertEquals(new File(location).getAbsolutePath(), resourceReference.getLocation());
|
||||||
assertEquals(ResourceType.FILE, resourceReference.getResourceType());
|
assertEquals(ResourceType.FILE, resourceReference.getResourceType());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user