1
0
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:
Cameron
2021-01-25 12:18:38 -08:00
parent 876212d518
commit 1c98e5e341
2 changed files with 3 additions and 0 deletions

View File

@@ -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');

View File

@@ -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');