From 5d3d4e8d768e6665128e8e995c3be5e16f06ca9f Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 9 Mar 2012 18:56:06 +0000 Subject: [PATCH] test fixes --- ext/index/test.php | 4 ++-- ext/view/test.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/index/test.php b/ext/index/test.php index e86ed088..d75f3126 100644 --- a/ext/index/test.php +++ b/ext/index/test.php @@ -99,8 +99,8 @@ class IndexTest extends ShimmieWebTestCase { $this->get_page("post/list/filename=screenshot/1"); $this->assert_title(new PatternExpectation("/^Image $image_id_1: /")); $this->assert_no_text("No Images Found"); - $this->get_page("post/list/tags=4/1"); - $this->assert_title("tags=4"); + $this->get_page("post/list/tags=3/1"); + $this->assert_title("tags=3"); $this->assert_no_text("No Images Found"); $this->get_page("post/list/ext=jpg/1"); $this->assert_title("ext=jpg"); diff --git a/ext/view/test.php b/ext/view/test.php index a82a60d7..80a2f73a 100644 --- a/ext/view/test.php +++ b/ext/view/test.php @@ -27,7 +27,7 @@ class ViewTest extends ShimmieWebTestCase { $this->assert_title('Image not found'); # note: skips image #2 - $this->get_page("post/view/$image_id_1?search=test"); + $this->get_page("post/view/$image_id_1?search=test"); // FIXME: assumes niceurls $this->click("Prev"); $this->assert_title("Image $image_id_3: test");