Skip to content

Commit

Permalink
The image driver may have been changed by other tests, so set it expl…
Browse files Browse the repository at this point in the history
…icitly
  • Loading branch information
Synchro committed Feb 21, 2022
1 parent ccea008 commit 411397c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ public function the_image_driver_is_set_on_the_intervention_static_manager()
{
$image = Image::load($this->getTestJpg());

$image->useImageDriver('gd');

$this->assertSame('gd', InterventionImage::getManager()->config['driver'] ?? null);

$image->useImageDriver('imagick');
Expand Down

0 comments on commit 411397c

Please sign in to comment.