Archived
Public Access
Add failing test case
This commit is contained in:
1 parent
9c2321fe3a
commit
f6443f5dff
1 file changed
+7
@@ -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