1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Fix theme shortcode login menu icons

This commit is contained in:
Cameron
2021-02-10 02:57:43 -08:00
parent 1f3e70d40a
commit 0cd5381435
2 changed files with 12 additions and 4 deletions

View File

@@ -1613,6 +1613,14 @@ class e_parse_shortcodeTest extends \Codeception\Test\Unit
}
public function testGlyphShortcode()
{
$tp = e107::getParser();
$result = $tp->parseTemplate('{GLYPH=fa-user}');
$this->assertSame("<i class='fas fa-user' ><!-- --></i>", $result);
}
public function testAddonShortcodes()
{