ico testing
This commit is contained in:
parent
4c204a2bc1
commit
d4d2afdd24
@ -2,10 +2,11 @@
|
|||||||
class IcoHandlerTest extends ShimmieWebTestCase {
|
class IcoHandlerTest extends ShimmieWebTestCase {
|
||||||
function testPixelHander() {
|
function testPixelHander() {
|
||||||
$this->log_in_as_user();
|
$this->log_in_as_user();
|
||||||
$image_id = $this->post_image("favicon.ico", "shimmie favicon");
|
$image_id = $this->post_image("lib/static/favicon.ico", "shimmie favicon");
|
||||||
$this->assert_response(302);
|
$this->assert_response(302);
|
||||||
$this->log_out();
|
$this->log_out();
|
||||||
|
|
||||||
|
$raw = $this->get_page("post/view/$image_id"); // test for no crash
|
||||||
$raw = $this->get_page("get_ico/$image_id"); // test for no crash
|
$raw = $this->get_page("get_ico/$image_id"); // test for no crash
|
||||||
|
|
||||||
$this->log_in_as_admin();
|
$this->log_in_as_admin();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user