diff --git a/e107_tests/tests/unit/e_parse_shortcodeTest.php b/e107_tests/tests/unit/e_parse_shortcodeTest.php index 60a59798a..9778d2d7c 100644 --- a/e107_tests/tests/unit/e_parse_shortcodeTest.php +++ b/e107_tests/tests/unit/e_parse_shortcodeTest.php @@ -15,6 +15,8 @@ class e_parse_shortcodeTest extends \Codeception\Test\Unit public function _before() { + e107::loadAdminIcons(); + try { $this->scParser = $this->make('e_parse_shortcode'); diff --git a/e107_tests/tests/unit/pluginsTest.php b/e107_tests/tests/unit/pluginsTest.php index df5efe407..a7bbc6f4c 100644 --- a/e107_tests/tests/unit/pluginsTest.php +++ b/e107_tests/tests/unit/pluginsTest.php @@ -16,6 +16,7 @@ protected function _before() { + e107::loadAdminIcons(); // for plugin admin area scripts. /*try { $this->_plg = $this->make('e107plugin');