Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Oct 31, 2023
1 parent cb01f99 commit 35ee59c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/CompilesIconsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CompilesIconsTest extends TestCase
/** @test */
public function it_compiles_a_single_anonymous_component()
{
$result = svg('iconoir-activity')->toHtml();
$result = svg('iconoir-regular-activity')->toHtml();

$expected = <<<'SVG'
<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
Expand All @@ -23,7 +23,7 @@ public function it_compiles_a_single_anonymous_component()
/** @test */
public function it_can_add_classes_to_icons()
{
$result = svg('iconoir-activity', 'w-6 h-6 text-gray-500')->toHtml();
$result = svg('iconoir-regular-activity', 'w-6 h-6 text-gray-500')->toHtml();

$expected = <<<'SVG'
<svg class="w-6 h-6 text-gray-500" width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
Expand All @@ -37,7 +37,7 @@ public function it_can_add_classes_to_icons()
/** @test */
public function it_can_add_styles_to_icons()
{
$result = svg('iconoir-activity', ['style' => 'fill: #F00'])->toHtml();
$result = svg('iconoir-regular-activity', ['style' => 'fill: #F00'])->toHtml();

$expected = <<<'SVG'
<svg style="fill: #F00" width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
Expand Down

0 comments on commit 35ee59c

Please sign in to comment.