|
|
@ -84,7 +84,7 @@ class IconBuilderTest extends TestCase { |
|
|
->with('global/images') |
|
|
->with('global/images') |
|
|
->willThrowException(new NotFoundException()); |
|
|
->willThrowException(new NotFoundException()); |
|
|
|
|
|
|
|
|
$expectedIcon = new \Imagick(realpath(dirname(__FILE__)). '/data/' . $file); |
|
|
|
|
|
|
|
|
$expectedIcon = new \Imagick(realpath(__DIR__). '/data/' . $file); |
|
|
$icon = $this->iconBuilder->renderAppIcon($app, 512); |
|
|
$icon = $this->iconBuilder->renderAppIcon($app, 512); |
|
|
|
|
|
|
|
|
$this->assertEquals(true, $icon->valid()); |
|
|
$this->assertEquals(true, $icon->valid()); |
|
|
@ -113,7 +113,7 @@ class IconBuilderTest extends TestCase { |
|
|
->with('global/images') |
|
|
->with('global/images') |
|
|
->willThrowException(new NotFoundException()); |
|
|
->willThrowException(new NotFoundException()); |
|
|
|
|
|
|
|
|
$expectedIcon = new \Imagick(realpath(dirname(__FILE__)). '/data/' . $file); |
|
|
|
|
|
|
|
|
$expectedIcon = new \Imagick(realpath(__DIR__). '/data/' . $file); |
|
|
$icon = new \Imagick(); |
|
|
$icon = new \Imagick(); |
|
|
$icon->readImageBlob($this->iconBuilder->getTouchIcon($app)); |
|
|
$icon->readImageBlob($this->iconBuilder->getTouchIcon($app)); |
|
|
|
|
|
|
|
|
@ -146,7 +146,7 @@ class IconBuilderTest extends TestCase { |
|
|
->with('global/images') |
|
|
->with('global/images') |
|
|
->willThrowException(new NotFoundException()); |
|
|
->willThrowException(new NotFoundException()); |
|
|
|
|
|
|
|
|
$expectedIcon = new \Imagick(realpath(dirname(__FILE__)). '/data/' . $file); |
|
|
|
|
|
|
|
|
$expectedIcon = new \Imagick(realpath(__DIR__). '/data/' . $file); |
|
|
$actualIcon = $this->iconBuilder->getFavicon($app); |
|
|
$actualIcon = $this->iconBuilder->getFavicon($app); |
|
|
|
|
|
|
|
|
$icon = new \Imagick(); |
|
|
$icon = new \Imagick(); |
|
|
|