mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 02:57:15 +02:00
Issue #4206 - news category menu {active} shortcode typo fix.
This commit is contained in:
@@ -188,6 +188,16 @@ while($row = $sql->fetch())
|
||||
$this->assertEmpty($result);
|
||||
}
|
||||
|
||||
public function testParseTemplateWithEvars()
|
||||
{
|
||||
$obj = new e_vars(array('ACTIVE' => "yes"));
|
||||
$result = $this->tp->parseTemplate('<div>something {ACTIVE}</div>', true, null, $obj);
|
||||
$expected = '<div>something yes</div>';
|
||||
|
||||
$this->assertEquals($expected, $result);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
public function testCreateConstants()
|
||||
{
|
||||
|
Reference in New Issue
Block a user