tests/phpunit/Scaler/FileSizeScalerTest.php 1 location
|
@@ 36-43 (lines=8) @@
|
| 33 |
|
*/ |
| 34 |
|
private $engine; |
| 35 |
|
|
| 36 |
|
public function __construct() { |
| 37 |
|
parent::__construct(); |
| 38 |
|
|
| 39 |
|
$this->fs = new Filesystem(); |
| 40 |
|
$this->engine = new ImageManager([ |
| 41 |
|
'driver' => 'gd', |
| 42 |
|
]); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
public function __destruct() { |
| 46 |
|
if ($this->fs->exists($this->publicPath)) { |
tests/phpunit/Scaler/WidthScalerTest.php 1 location
|
@@ 36-43 (lines=8) @@
|
| 33 |
|
*/ |
| 34 |
|
private $engine; |
| 35 |
|
|
| 36 |
|
public function __construct() { |
| 37 |
|
parent::__construct(); |
| 38 |
|
|
| 39 |
|
$this->fs = new Filesystem(); |
| 40 |
|
$this->engine = new ImageManager([ |
| 41 |
|
'driver' => 'gd', |
| 42 |
|
]); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
public function __destruct() { |
| 46 |
|
if ($this->fs->exists($this->publicPath)) { |