mirror of
https://github.com/Intervention/image.git
synced 2025-09-09 13:40:52 +02:00
Add ImageManager::driver()
This commit is contained in:
@@ -35,6 +35,13 @@ final class ImageManagerTest extends BaseTestCase
|
||||
$this->assertInstanceOf(ImageManager::class, $manager);
|
||||
}
|
||||
|
||||
public function testDriver(): void
|
||||
{
|
||||
$driver = new GdDriver();
|
||||
$manager = ImageManager::withDriver($driver);
|
||||
$this->assertEquals($driver, $manager->driver());
|
||||
}
|
||||
|
||||
public function testDriverStatics(): void
|
||||
{
|
||||
$manager = ImageManager::gd();
|
||||
|
Reference in New Issue
Block a user