test another couple of branches

This commit is contained in:
Shish 2010-04-05 09:14:54 +01:00
parent 95393af219
commit cd3976821c

View File

@ -8,12 +8,15 @@ class RandomTest extends ShimmieWebTestCase {
$this->get_page("random_image/view"); $this->get_page("random_image/view");
$this->assert_title("Image $image_id: test"); $this->assert_title("Image $image_id: test");
$this->get_page("random_image/view/test");
$this->assert_title("Image $image_id: test");
$raw = $this->get_page("random_image/download");
# FIXME: assert($raw == file(blah.jpg))
$this->log_in_as_admin(); $this->log_in_as_admin();
$this->delete_image($image_id); $this->delete_image($image_id);
$this->log_out(); $this->log_out();
# FIXME: test random_image/download
# FIXME: test random_image/ratio=4:3/download
} }
function tesPostListBlock() { function tesPostListBlock() {