[image_view_counter] give post a view so it isn't null
This commit is contained in:
parent
1f9de8dd5a
commit
886b884bd6
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ class ImageViewCounterTest extends ShimmiePHPUnitTestCase
|
||||||
public function testPopular()
|
public function testPopular()
|
||||||
{
|
{
|
||||||
$image_id = $this->post_image("tests/pbx_screenshot.jpg", "pbx computer screenshot");
|
$image_id = $this->post_image("tests/pbx_screenshot.jpg", "pbx computer screenshot");
|
||||||
|
$this->get_page("post/view/$image_id");
|
||||||
$this->get_page("popular_images");
|
$this->get_page("popular_images");
|
||||||
$this->assert_text("$image_id");
|
$this->assert_text("$image_id");
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue