forked from Cavemanon/cavepaintings
sometimes we want test uploads to fail
This commit is contained in:
@@ -176,7 +176,9 @@ class ShimmieWebTestCase extends SCoreWebTestCase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertTrue($image_id > 0);
|
// sometimes we want uploading to fail, eg
|
||||||
|
// testing for a blacklist
|
||||||
|
//$this->assertTrue($image_id > 0);
|
||||||
|
|
||||||
$this->setMaximumRedirects(5);
|
$this->setMaximumRedirects(5);
|
||||||
return $image_id;
|
return $image_id;
|
||||||
|
Reference in New Issue
Block a user