Remove code that is no longer necessary for the templates to work
[MAILPOET-6356]
This commit is contained in:
committed by
Rostislav Wolný
parent
2fc0ad3c9e
commit
2e661f8b8e
@@ -25,7 +25,6 @@ use MailPoet\EmailEditor\Engine\Renderer\ContentRenderer\Process_Manager;
|
||||
use MailPoet\EmailEditor\Engine\Renderer\Renderer;
|
||||
use MailPoet\EmailEditor\Engine\Settings_Controller;
|
||||
use MailPoet\EmailEditor\Engine\Templates\Templates;
|
||||
use MailPoet\EmailEditor\Engine\Templates\Utils;
|
||||
use MailPoet\EmailEditor\Engine\Theme_Controller;
|
||||
use MailPoet\EmailEditor\Engine\User_Theme;
|
||||
use MailPoet\EmailEditor\Integrations\Core\Initializer;
|
||||
@@ -160,12 +159,6 @@ abstract class MailPoetTest extends \Codeception\TestCase\Test { // phpcs:ignore
|
||||
}
|
||||
);
|
||||
// End: MailPoet plugin dependencies.
|
||||
$container->set(
|
||||
Utils::class,
|
||||
function () {
|
||||
return new Utils();
|
||||
}
|
||||
);
|
||||
$container->set(
|
||||
Theme_Controller::class,
|
||||
function () {
|
||||
@@ -192,8 +185,8 @@ abstract class MailPoetTest extends \Codeception\TestCase\Test { // phpcs:ignore
|
||||
);
|
||||
$container->set(
|
||||
Templates::class,
|
||||
function ( $container ) {
|
||||
return new Templates( $container->get( Utils::class ) );
|
||||
function () {
|
||||
return new Templates();
|
||||
}
|
||||
);
|
||||
$container->set(
|
||||
|
Reference in New Issue
Block a user