Archived
Public Access
Test removing current color
This commit is contained in:
1 parent
3b6a85c3b3
commit
692789b21d
1 file changed
+4
-2
@@ -251,8 +251,10 @@ class IconRuntimeTest extends TestCase
|
||||
|
||||
public function testStrokeCurrentColorInstancesAreRemoved(): void
|
||||
{
|
||||
$needle = 'stroke="currentColor"';
|
||||
$needleA = 'stroke="currentColor"';
|
||||
$needleB = 'stroke=\'currentColor\'';
|
||||
$contents = $this->icon->renderIcon(['icon' => self::ICON]);
|
||||
$this->assertStringNotContainsString($needle, $contents);
|
||||
$this->assertStringNotContainsString($needleA, $contents);
|
||||
$this->assertStringNotContainsString($needleB, $contents);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user