mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14216] Do not run thumbnail test if gd is disabled
PHPBB3-14216
This commit is contained in:
parent
4437d0c794
commit
664119ec6b
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;
|
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(
|
||||||
|
|
Loading…
Add table
Reference in a new issue