Skip to content

Commit 2da847c

Browse files
committed
Fix tests
1 parent cabe570 commit 2da847c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/TestCase/View/Helper/IconHelperTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testIconPrefixed() {
5454
*/
5555
public function testIconWithCustomAttributes() {
5656
$result = $this->Icon->render('m:save', [], ['data-x' => 'y']);
57-
$expected = '<span class="material-symbols-outlined" data-x="y" title="Save">save</span>';
57+
$expected = '<span class="material-icons" data-x="y" title="Save">save</span>';
5858
$this->assertSame($expected, $result);
5959
}
6060

@@ -63,7 +63,7 @@ public function testIconWithCustomAttributes() {
6363
*/
6464
public function testIconWithCustomClassAttributes() {
6565
$result = $this->Icon->render('m:save', [], ['class' => 'my-extra']);
66-
$expected = '<span class="material-symbols-outlined my-extra" title="Save">save</span>';
66+
$expected = '<span class="material-icons my-extra" title="Save">save</span>';
6767
$this->assertSame($expected, $result);
6868
}
6969

@@ -84,7 +84,7 @@ public function testIconWithCustomFontIcon() {
8484
$this->Icon = new IconHelper(new View(null), $config);
8585

8686
$result = $this->Icon->render('edit');
87-
$expected = '<span class="material-symbols-outlined" title="Save">save</span>';
87+
$expected = '<span class="material-icons" title="Save">save</span>';
8888
$this->assertSame($expected, $result);
8989
}
9090

tests/TestCase/View/Icon/MaterialIconTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function setUp(): void {
2626
*/
2727
public function testRender(): void {
2828
$result = $this->icon->render('view');
29-
$this->assertSame('<span class="material-symbols-outlined">view</span>', $result);
29+
$this->assertSame('<span class="material-icons">view</span>', $result);
3030
}
3131

3232
}

0 commit comments

Comments
 (0)