test fixes
This commit is contained in:
parent
bbbc92418d
commit
5d3d4e8d76
@ -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");
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user