Change HTTP error detection in URL fetching test

This commit is contained in:
Antonin Delpeuch 2018-01-03 22:44:32 +01:00
parent dae4ac1ce4
commit 45ccd0e1c0

View File

@ -169,7 +169,7 @@ public class UrlFetchingTests extends RefineTest {
// Inspect rows
String ref_val = (String)project.rows.get(0).getCellValue(1).toString();
if (ref_val.contains("HTTP error 403"))
if (ref_val.startsWith("HTTP error"))
return;
Assert.assertTrue(ref_val != "apple"); // just to make sure I picked the right column
for (int i = 1; i < 4; i++) {