test updates
This commit is contained in:
parent
2831f61489
commit
e24b144acb
2 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ class IndexTest extends ShimmieWebTestCase {
|
|||
$this->assert_title("Shimmie");
|
||||
|
||||
$this->get_page('post/list/99999');
|
||||
$this->assert_title("Shimmie");
|
||||
$this->assert_title("No Images Found");
|
||||
|
||||
$this->log_in_as_admin();
|
||||
$this->delete_image($image_id);
|
||||
|
@ -44,7 +44,7 @@ class IndexTest extends ShimmieWebTestCase {
|
|||
|
||||
# regular tag, no results
|
||||
$this->get_page('post/list/maumaumau/1');
|
||||
$this->assert_title("maumaumau");
|
||||
$this->assert_title("No Images Found");
|
||||
$this->assert_text("No Images Found");
|
||||
|
||||
# regular tag, many results
|
||||
|
|
|
@ -51,10 +51,10 @@ class TagEditTest extends ShimmieWebTestCase {
|
|||
$this->assert_title("Image $image_id: pbx");
|
||||
|
||||
$this->get_page("admin");
|
||||
$this->assert_text("Mass Tag Edit"); // just test it exists
|
||||
$this->assert_text("Mass Tag Edit");
|
||||
$this->set_field("search", "pbx");
|
||||
$this->set_field("replace", "pox");
|
||||
$this->click("Set");
|
||||
$this->click("Replace");
|
||||
|
||||
$this->get_page("post/view/$image_id");
|
||||
$this->assert_title("Image $image_id: pox");
|
||||
|
|
Reference in a new issue