From 7f12edf4165db70c6d282de1989b147464148188 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 10 Mar 2019 16:13:02 +0000 Subject: [PATCH] Fix URL for test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855155 13f79535-47bb-0310-9956-ffa450edef68 --- src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java index e2fc485bf0..6a49b32e0e 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java @@ -2932,7 +2932,7 @@ public final class TestBugs extends BaseTestBugzillaIssues { Workbook wb = HSSFTestDataSamples.openSampleWorkbook("46515.xls"); // Get structure from webservice - String urlString = "http://poi.apache.org/resources/images/project-logo.jpg"; + String urlString = "http://poi.apache.org/images/project-header.png"; URL structURL = new URL(urlString); BufferedImage bimage; try { @@ -2978,6 +2978,7 @@ public final class TestBugs extends BaseTestBugzillaIssues { assertEquals(CellType.FORMULA, cell.getCellType()); assertEquals("IF(TRUE,\"\",\"\")", cell.getCellFormula()); assertEquals("", cell.getStringCellValue()); + //noinspection deprecation cell.setCellType(CellType.STRING); assertEquals(CellType.BLANK, cell.getCellType()); -- 2.39.5