fix file path issue

This commit is contained in:
Greg DiCristofaro 2021-10-15 09:03:01 -04:00
parent 45edbbdf36
commit c68b6c9557

View File

@ -266,7 +266,7 @@ public class IngestFileFiltersTest extends NbTestCase {
String errMsg = String.format("File %s (objId=%d) unexpectedly blocked by the file filter.", file.getName(), file.getId());
assertTrue(errMsg, file.getMIMEType() != null && !file.getMIMEType().isEmpty());
if (file.getParentPath().equalsIgnoreCase("/$CarvedFiles/")) {
if (file.getParentPath().startsWith("/$CarvedFiles/")) {
carvedJpgGifFiles++;
}
} else if (file.getName().startsWith("Unalloc_")) {