Skip to content

Commit 28ea204

Browse files
committed
Merge remote-tracking branch 'origin/ui' into ui
2 parents 10886b1 + 0934cd6 commit 28ea204

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Fieldtypes/IconTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)