Skip to content

Commit

Permalink
Merge pull request #804 from jeromegamez/EZP-21802_menage_a_deux
Browse files Browse the repository at this point in the history
EZP-21802: eZImageManagerTest suite only gets executed when ImageMagick and GD are present
  • Loading branch information
andrerom committed Feb 25, 2014
2 parents 1676986 + 4710351 commit c98e521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests/lib/ezimage/ezimagemanager_test.php
Expand Up @@ -61,8 +61,8 @@ public function setUp()
*/
public function testMultiHandlerAlias()
{
if ( !self::gdIsEnabled() or !self::imageMagickIsEnabled() )
$this->markTestSkipped( 'GD and/or ImageMagick are not enabled' );
if ( !self::gdIsEnabled() && !self::imageMagickIsEnabled() )
$this->markTestSkipped( 'Neither GD nor ImageMagick are enabled' );

$aliasList = $this->imageIni->variable( 'AliasSettings', 'AliasList' );
array_push( $aliasList, 'multihandler' );
Expand Down

0 comments on commit c98e521

Please sign in to comment.