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:
Dominik Stadler 2015-10-26 20:48:38 +00:00
parent f1f08de7fb
commit 856bbf97f4

View File

@ -1029,7 +1029,7 @@ public final class TestXSSFWorkbook extends BaseTestWorkbook {
try {
// 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());