Add failing test case
This commit is contained in:
@@ -248,4 +248,11 @@ class IconRuntimeTest extends TestCase
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
$this->icon->renderIcon(['icon' => self::ICON, 'fake-key-should-throw' => null]);
|
||||
}
|
||||
|
||||
public function testStrokeCurrentColorInstancesAreRemoved(): void
|
||||
{
|
||||
$needle = 'stroke="currentColor"';
|
||||
$contents = $this->icon->renderIcon(['icon' => self::ICON]);
|
||||
$this->assertStringNotContainsString($needle, $contents);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user