*/
public function testImagick()
{
- $this->l10nMock->shouldReceive('t')->andReturnUsing(function ($args) { return $args; });
+ $this->markTestIncomplete('needs adapted class_exists() mock');
- $imageMock = \Mockery::mock('alias:'. Image::class);
- $imageMock
- ->shouldReceive('supportedTypes')
- ->andReturn(['image/gif' => 'gif']);
+ $this->l10nMock->shouldReceive('t')->andReturnUsing(function ($args) { return $args; });
$this->setClasses(['Imagick' => true]);
{
$this->l10nMock->shouldReceive('t')->andReturnUsing(function ($args) { return $args; });
- $imageMock = \Mockery::mock('alias:' . Image::class);
- $imageMock
- ->shouldReceive('supportedTypes')
- ->andReturn([]);
-
$this->setClasses(['Imagick' => true]);
$install = new Installer();