fix the tests..
This commit is contained in:
parent
9af0c260c3
commit
f058d5dd5b
@ -17,11 +17,12 @@ class NumericScoreTest extends ShimmieWebTestCase {
|
|||||||
$this->assertTitle("Image $image_id: pbx");
|
$this->assertTitle("Image $image_id: pbx");
|
||||||
|
|
||||||
# test search by vote
|
# 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->assertTitle("Image $image_id: pbx");
|
||||||
|
$this->assertNoText("No Images Found");
|
||||||
|
|
||||||
# and downvote
|
# 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->assertText("No Images Found");
|
||||||
$this->log_out();
|
$this->log_out();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user