mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 02:57:15 +02:00
Possible test fix.
This commit is contained in:
@@ -714,6 +714,7 @@ class e107Test extends \Codeception\Test\Unit
|
||||
public function testGetTemplate()
|
||||
{
|
||||
e107::getConfig()->set('sitetheme', '_blank');
|
||||
require_once(e_PLUGIN."download/languages/English/English_front.php"); // LANS in template files.
|
||||
|
||||
$template = e107::getTemplate('download', null, null); // theme override is enabled by default.
|
||||
$this->assertEquals('{DOWNLOAD_BREADCRUMB} Custom', $template['header']); // ie. should be from _blank theme download template (override of plugin).
|
||||
|
Reference in New Issue
Block a user