From f058d5dd5bb10d1f3820760d60f4bc3cea6cfffc Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 16 Aug 2009 20:19:09 +0100 Subject: [PATCH] fix the tests.. --- contrib/numeric_score/test.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/numeric_score/test.php b/contrib/numeric_score/test.php index a05e3a1e..7ea8a6d7 100644 --- a/contrib/numeric_score/test.php +++ b/contrib/numeric_score/test.php @@ -17,11 +17,12 @@ class NumericScoreTest extends ShimmieWebTestCase { $this->assertTitle("Image $image_id: pbx"); # test search by vote - $this->get_page("post/list/upvoted_by=demo/1"); + $this->get_page("post/list/upvoted_by=test/1"); $this->assertTitle("Image $image_id: pbx"); + $this->assertNoText("No Images Found"); # and downvote - $this->get_page("post/list/downvoted_by=demo/1"); + $this->get_page("post/list/downvoted_by=test/1"); $this->assertText("No Images Found"); $this->log_out();