more testes
This commit is contained in:
parent
39e1a56a94
commit
9a3efd592a
@ -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();
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user