mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 19:00:26 +02:00
Load admin icons during shortcode and plugins tests.
This commit is contained in:
@@ -15,6 +15,8 @@ class e_parse_shortcodeTest extends \Codeception\Test\Unit
|
|||||||
|
|
||||||
public function _before()
|
public function _before()
|
||||||
{
|
{
|
||||||
|
e107::loadAdminIcons();
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$this->scParser = $this->make('e_parse_shortcode');
|
$this->scParser = $this->make('e_parse_shortcode');
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
protected function _before()
|
protected function _before()
|
||||||
{
|
{
|
||||||
|
e107::loadAdminIcons(); // for plugin admin area scripts.
|
||||||
/*try
|
/*try
|
||||||
{
|
{
|
||||||
$this->_plg = $this->make('e107plugin');
|
$this->_plg = $this->make('e107plugin');
|
||||||
|
Reference in New Issue
Block a user