replace numeric_score 'favorite' with 'upvoted_by=name' (and add the same for downvote)
This commit is contained in:
@ -12,8 +12,16 @@ class NumericScoreTest extends ShimmieWebTestCase {
|
||||
# FIXME: "remove vote" button?
|
||||
# FIXME: test that up and down are hidden if already voted up or down
|
||||
|
||||
# test search by score
|
||||
$this->get_page("post/list/score=1/1");
|
||||
$this->assertTitle("Image $image_id: pbx");
|
||||
|
||||
# test search by vote
|
||||
$this->get_page("post/list/upvoted_by=demo/1");
|
||||
$this->assertTitle("Image $image_id: pbx");
|
||||
|
||||
$this->get_page("post/list/downvoted_by=demo/1");
|
||||
$this->assertTitle("Image $image_id: pbx");
|
||||
$this->log_out();
|
||||
|
||||
$this->log_in_as_admin();
|
||||
|
Reference in New Issue
Block a user