Skip to content
Snippets Groups Projects
Commit 5cae7618 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1847828 by chx: Fixed testbot failures.

parent 2e7f67b0
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -64,13 +64,6 @@ abstract class DrupalUnitTestBase extends UnitTestBase {
private $themeFiles;
private $themeData;
/**
* Base service container for rebooting DrupalKernel.
*
* @var \Drupal\Core\DependencyInjection\ContainerBuilder
*/
private $baseContainer;
/**
* Sets up Drupal unit test environment.
*
......@@ -125,6 +118,8 @@ protected function setUp() {
*/
public function containerBuild($container) {
global $conf;
// Keep the container object around for tests.
$this->container = $container;
$conf['lock_backend'] = 'Drupal\Core\Lock\NullLockBackend';
$conf['cache_classes'] = array('cache' => 'Drupal\Core\Cache\MemoryBackend');
$container
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment