1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-27 07:44:30 +02:00

Mess with Config object

This commit is contained in:
Oliver Vogel
2024-05-10 17:01:38 +02:00
parent 64632cd2c3
commit 59781c723e
5 changed files with 16 additions and 60 deletions

View File

@@ -53,14 +53,10 @@ final class ConfigTest extends BaseTestCase
$this->assertFalse($result->decodeAnimation);
$this->assertEquals('f00', $result->blendingColor);
$result = $config->setOption('blendingColor', '000');
$result = $config->setOptions(blendingColor: '000');
$this->assertFalse($config->autoOrientation);
$this->assertFalse($config->decodeAnimation);
$this->assertEquals('000', $config->blendingColor);
$this->assertFalse($result->autoOrientation);
$this->assertFalse($result->decodeAnimation);
$this->assertEquals('000', $result->blendingColor);
}
}