mirror of
https://github.com/e107inc/e107.git
synced 2025-10-13 22:14:51 +02:00
e_parse::parseTemplate() behavior clarification
New tests cover the behavior described in https://github.com/e107inc/e107/issues/3547
This commit is contained in:
@@ -118,6 +118,9 @@
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see https://github.com/e107inc/e107/issues/3547
|
||||
*/
|
||||
public function testBanner()
|
||||
{
|
||||
|
||||
@@ -130,7 +133,6 @@
|
||||
|
||||
$tp = e107::getParser();
|
||||
|
||||
// XXX: Contradicts https://github.com/e107inc/e107/issues/3547#issuecomment-437163733
|
||||
$result = $tp->parseTemplate("{BANNER=e107promo}",true);
|
||||
$this->assertContains("<img class='e-banner img-responsive img-fluid'", $result);
|
||||
|
||||
|
Reference in New Issue
Block a user