mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-04 05:25:01 +02:00
[ticket/11045] Explicitely check for zlib and bz2
PHPBB3-11045
This commit is contained in:
parent
570502e4a3
commit
83a5326077
@ -38,9 +38,8 @@ class phpbb_compress_test extends phpbb_test_case
|
||||
$phpbb_root_path = '';
|
||||
|
||||
$this->path = __DIR__ . '/fixtures/';
|
||||
$compress = new compress();
|
||||
|
||||
if (sizeof($compress->methods()) < 4)
|
||||
if (!@extension_loaded('zlib') || !@extension_loaded('bz2'))
|
||||
{
|
||||
$this->markTestSkipped('PHP needs to be compiled with --with-zlib and --with-bz2 in order to run these tests');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user