Fix Sonar-Maven build, correctly determine path to test-file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710694 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f1f08de7fb
commit
856bbf97f4
@ -1029,7 +1029,7 @@ public final class TestXSSFWorkbook extends BaseTestWorkbook {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// as the file is written to, we make a copy before actually working on it
|
// as the file is written to, we make a copy before actually working on it
|
||||||
FileHelper.copyFile(new File("test-data/spreadsheet/56957.xlsx"), file);
|
FileHelper.copyFile(HSSFTestDataSamples.getSampleFile("56957.xlsx"), file);
|
||||||
|
|
||||||
assertTrue(file.exists());
|
assertTrue(file.exists());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user