[ticket/14216] Do not run thumbnail test if gd is disabled

PHPBB3-14216
This commit is contained in:
Marc Alexander 2015-10-04 20:58:22 +02:00
parent 4437d0c794
commit 664119ec6b

View file

@ -39,6 +39,11 @@ class phpbb_console_command_thumbnail_test extends phpbb_database_test_case
{
global $config, $phpbb_root_path, $phpEx, $phpbb_filesystem;
if (!@extension_loaded('gd'))
{
$this->markTestSkipped('Thumbnail tests require gd extension.');
}
parent::setUp();
$config = $this->config = new \phpbb\config\config(array(