diff options
author | Dominik Stadler <centic@apache.org> | 2015-10-26 20:48:38 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2015-10-26 20:48:38 +0000 |
commit | b7efcbaf5fe19a205d22c16f78b172f206aa3a20 (patch) | |
tree | 4bbf8420fbea7daada32efb606a5e3b9a1ffcae4 /src/ooxml/testcases/org/apache/poi | |
parent | c776dff7a5e575a7712353d21a05b7663e4e3671 (diff) | |
download | poi-b7efcbaf5fe19a205d22c16f78b172f206aa3a20.tar.gz poi-b7efcbaf5fe19a205d22c16f78b172f206aa3a20.zip |
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
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi')
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java index 199a3fe307..1378cd4fa5 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java @@ -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()); |