This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/contrib/zoom/test.php
2009-07-20 06:51:51 +01:00

11 lines
342 B
PHP

<?php
class ZoomTest extends ShimmieWebTestCase {
function testZoom() {
$this->log_in_as_admin();
$image_id = $this->post_image("ext/simpletest/data/pbx_screenshot.jpg", "pbx computer screenshot");
$this->get("post/view/$image_id"); # just check that the page isn't borked
$this->delete_image($image_id);
$this->log_out();
}
}
?>