Fix URL for test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855155 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2019-03-10 16:13:02 +00:00
parent ef369931e2
commit 7f12edf416
1 changed files with 2 additions and 1 deletions

View File

@ -2932,7 +2932,7 @@ public final class TestBugs extends BaseTestBugzillaIssues {
Workbook wb = HSSFTestDataSamples.openSampleWorkbook("46515.xls"); Workbook wb = HSSFTestDataSamples.openSampleWorkbook("46515.xls");
// Get structure from webservice // 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); URL structURL = new URL(urlString);
BufferedImage bimage; BufferedImage bimage;
try { try {
@ -2978,6 +2978,7 @@ public final class TestBugs extends BaseTestBugzillaIssues {
assertEquals(CellType.FORMULA, cell.getCellType()); assertEquals(CellType.FORMULA, cell.getCellType());
assertEquals("IF(TRUE,\"\",\"\")", cell.getCellFormula()); assertEquals("IF(TRUE,\"\",\"\")", cell.getCellFormula());
assertEquals("", cell.getStringCellValue()); assertEquals("", cell.getStringCellValue());
//noinspection deprecation
cell.setCellType(CellType.STRING); cell.setCellType(CellType.STRING);
assertEquals(CellType.BLANK, cell.getCellType()); assertEquals(CellType.BLANK, cell.getCellType());