Permalink
Browse files

test updates

  • Loading branch information...
1 parent 2831f61 commit e24b144acb886468902fa907e4fca8d5b9f603b9 @shish shish committed Apr 1, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 ext/index/test.php
  2. +2 −2 ext/tag_edit/test.php
View
@@ -23,7 +23,7 @@ function testIndexPage() {
$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 @@ function testSearches() {
# 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 @@ function testMassEdit() {
$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");

0 comments on commit e24b144

Please sign in to comment.