more testes

This commit is contained in:
Shish 2009-09-20 04:10:34 +01:00
parent 39e1a56a94
commit 9a3efd592a
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,8 @@ class TagEditTest extends ShimmieWebTestCase {
$this->log_out(); $this->log_out();
$this->log_in_as_admin(); $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->delete_image($image_id);
$this->log_out(); $this->log_out();

View File

@ -3,6 +3,9 @@ class UploadTest extends ShimmieWebTestCase {
function testUpload() { function testUpload() {
$this->log_in_as_user(); $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"); $image_id_1 = $this->post_image("ext/simpletest/data/pbx_screenshot.jpg", "pbx computer screenshot");
$this->assert_response(302); $this->assert_response(302);