File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ class IconTest extends TestCase
1414 #[Test]
1515 public function it_finds_default_icons ()
1616 {
17- $ result = (string ) Antlers::parse ('{{ svg src="{test|raw}" }} ' , ['test ' => new Value ('add ' , $ this ->fieldtype ())]);
17+ $ result = (string ) Antlers::parse ('{{ svg src="{test|raw}" }} ' , ['test ' => new Value ('add-circle ' , $ this ->fieldtype ())]);
1818
1919 $ this ->assertStringContainsString ('<svg ' , $ result );
2020 }
2121
2222 #[Test]
2323 public function it_accepts_svg_strings ()
2424 {
25- $ result = (string ) Antlers::parse ('{{ svg :src="test" class="w-4 h-4" sanitize="false" }} ' , ['test ' => new Value ('add ' , $ this ->fieldtype ())]);
25+ $ result = (string ) Antlers::parse ('{{ svg :src="test" class="w-4 h-4" sanitize="false" }} ' , ['test ' => new Value ('add-circle ' , $ this ->fieldtype ())]);
2626
2727 $ this ->assertStringContainsString ('<svg class="w-4 h-4" ' , $ result );
2828 }
You can’t perform that action at this time.
0 commit comments