This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/handle_ico/test.php

21 lines
500 B
PHP
Raw Normal View History

2021-12-14 18:32:47 +00:00
<?php
declare(strict_types=1);
namespace Shimmie2;
class IcoFileHandlerTest extends ShimmiePHPUnitTestCase
{
2024-01-15 14:31:51 +00:00
public function testIcoHander(): void
{
$this->log_in_as_user();
$image_id = $this->post_image("ext/static_files/static/favicon.ico", "shimmie favicon");
2020-01-29 20:22:50 +00:00
$page = $this->get_page("post/view/$image_id");
$this->assertEquals(200, $page->code);
2009-09-27 14:48:38 +00:00
# FIXME: test that the thumb works
# FIXME: test that it gets displayed properly
}
2009-07-16 19:21:49 +00:00
}