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