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 2f9ca1e0bbd..9e1a7cc0f34 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 @@ void checkNewFileForR1C1Refs() throws IOException { @Test void testGithub321() throws Exception { - try (XSSFWorkbook wb = new XSSFWorkbook(getSampleFile("github-321.xlsx"))) { + try (XSSFWorkbook wb = openSampleWorkbook("github-321.xlsx")) { XSSFSheet xssfSheet = wb.getSheetAt(0); DataFormatter dataFormatter = new DataFormatter(); FormulaEvaluator formulaEvaluator = wb.getCreationHelper().createFormulaEvaluator();