fix the tests..

This commit is contained in:
Shish 2009-08-16 20:19:09 +01:00
parent 9af0c260c3
commit f058d5dd5b

View File

@ -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();