From 856bbf97f474c978f529188bcc01e7981138afc0 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Mon, 26 Oct 2015 20:48:38 +0000 Subject: [PATCH] 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 --- .../org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 199a3fe30..1378cd4fa 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());