diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java index 9e1a7cc0f3..2f9ca1e0bb 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java @@ -1432,7 +1432,7 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook { @Test void testGithub321() throws Exception { - try (XSSFWorkbook wb = openSampleWorkbook("github-321.xlsx")) { + try (XSSFWorkbook wb = new XSSFWorkbook(getSampleFile("github-321.xlsx"))) { XSSFSheet xssfSheet = wb.getSheetAt(0); DataFormatter dataFormatter = new DataFormatter(); FormulaEvaluator formulaEvaluator = wb.getCreationHelper().createFormulaEvaluator(); diff --git a/test-data/spreadsheet/github-321.xlsx b/test-data/spreadsheet/github-321.xlsx index 2f50722c55..b015b9e993 100644 Binary files a/test-data/spreadsheet/github-321.xlsx and b/test-data/spreadsheet/github-321.xlsx differ