18 lines
445 B
PHP
Raw Normal View History

2009-07-16 20:21:49 +01:00
<?php
class PixelHandlerTest extends ShimmieWebTestCase {
function testPixelHander() {
$this->log_in_as_user();
$image_id = $this->post_image("ext/simpletest/data/pbx_screenshot.jpg", "pbx computer screenshot");
2009-08-19 01:28:48 +01:00
$this->assert_response(302);
2009-07-16 20:21:49 +01:00
$this->log_out();
$this->log_in_as_admin();
$this->delete_image($image_id);
$this->log_out();
2009-07-20 06:51:36 +01:00
# FIXME: test that the thumb works
# FIXME: test that it gets displayed properly
2009-07-16 20:21:49 +01:00
}
}
?>