From 9a3efd592a4917cac785b5253c59c99d2825433b Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 20 Sep 2009 04:10:34 +0100 Subject: [PATCH] more testes --- ext/tag_edit/test.php | 2 ++ ext/upload/test.php | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ext/tag_edit/test.php b/ext/tag_edit/test.php index ea281ee0..1bb5b4b2 100644 --- a/ext/tag_edit/test.php +++ b/ext/tag_edit/test.php @@ -14,6 +14,8 @@ class TagEditTest extends ShimmieWebTestCase { $this->log_out(); $this->log_in_as_admin(); + $this->get_page("admin"); + $this->assert_text("Mass Tag Edit"); // just test it exists $this->delete_image($image_id); $this->log_out(); diff --git a/ext/upload/test.php b/ext/upload/test.php index 83bbc2b4..7a9c1281 100644 --- a/ext/upload/test.php +++ b/ext/upload/test.php @@ -3,6 +3,9 @@ class UploadTest extends ShimmieWebTestCase { function testUpload() { $this->log_in_as_user(); + $this->get_page("upload"); + $this->assert_title("Upload"); + $image_id_1 = $this->post_image("ext/simpletest/data/pbx_screenshot.jpg", "pbx computer screenshot"); $this->assert_response(302);