mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 15:45:34 +02:00
Merge pull request #3945 from marc1706/ticket/14216
[ticket/14216] Do not run thumbnail test if gd is disabled * marc1706/ticket/14216: [ticket/14216] Do not run thumbnail test if gd is disabled
This commit is contained in:
commit
617df4aa0e
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user