[image_view_counter] give post a view so it isn't null

This commit is contained in:
Shish 2024-01-03 12:02:39 +00:00
parent 1f9de8dd5a
commit 886b884bd6

View file

@ -17,6 +17,7 @@ class ImageViewCounterTest extends ShimmiePHPUnitTestCase
public function testPopular()
{
$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->assert_text("$image_id");
}