Change HTTP error detection in URL fetching test
This commit is contained in:
parent
dae4ac1ce4
commit
45ccd0e1c0
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user