From cd3976821ce0142d59e26c8550f6e483838c740b Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 5 Apr 2010 09:14:54 +0100 Subject: [PATCH] test another couple of branches --- contrib/random_image/test.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contrib/random_image/test.php b/contrib/random_image/test.php index d9dbad0c..71205073 100644 --- a/contrib/random_image/test.php +++ b/contrib/random_image/test.php @@ -8,12 +8,15 @@ class RandomTest extends ShimmieWebTestCase { $this->get_page("random_image/view"); $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->delete_image($image_id); $this->log_out(); - - # FIXME: test random_image/download - # FIXME: test random_image/ratio=4:3/download } function tesPostListBlock() {