mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:22:37 +02:00
[ticket/14216] Do not run thumbnail test if gd is disabled
PHPBB3-14216
This commit is contained in:
@@ -39,6 +39,11 @@ class phpbb_console_command_thumbnail_test extends phpbb_database_test_case
|
|||||||
{
|
{
|
||||||
global $config, $phpbb_root_path, $phpEx, $phpbb_filesystem;
|
global $config, $phpbb_root_path, $phpEx, $phpbb_filesystem;
|
||||||
|
|
||||||
|
if (!@extension_loaded('gd'))
|
||||||
|
{
|
||||||
|
$this->markTestSkipped('Thumbnail tests require gd extension.');
|
||||||
|
}
|
||||||
|
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
$config = $this->config = new \phpbb\config\config(array(
|
$config = $this->config = new \phpbb\config\config(array(
|
||||||
|
Reference in New Issue
Block a user