mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-22 19:28:53 +00: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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue