Commit 0b5a8cac authored by catch's avatar catch

Issue #2100313 by dawehner, pwolanin: Move non-core services out of core.services.yml.

parent a0f81c79
......@@ -301,9 +301,6 @@ services:
lock:
class: Drupal\Core\Lock\DatabaseLockBackend
arguments: ['@database']
user.tempstore:
class: Drupal\user\TempStoreFactory
arguments: ['@serialization.phpserialize', '@database', '@lock']
router.request_context:
class: Symfony\Component\Routing\RequestContext
tags:
......
......@@ -46,3 +46,6 @@ services:
user.auth:
class: Drupal\user\UserAuth
arguments: ['@entity.manager', '@password']
user.tempstore:
class: Drupal\user\TempStoreFactory
arguments: ['@serialization.phpserialize', '@database', '@lock']
......@@ -23,6 +23,13 @@ class ModuleTest extends ViewUnitTestBase {
*/
public static $testViews = array('test_view_status', 'test_view');
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('user', 'block');
/**
* Stores the last triggered error, for example via debug().
*
......
......@@ -26,7 +26,7 @@ class BlockDependenciesTest extends ViewUnitTestBase {
*
* @var array
*/
public static $modules = array('node', 'block');
public static $modules = array('node', 'block', 'user');
/**
* {@inheritdoc}
......
......@@ -23,7 +23,7 @@ class WizardPluginBaseUnitTest extends ViewUnitTestBase {
*
* @var array
*/
public static $modules = array('language', 'system');
public static $modules = array('language', 'system', 'user');
/**
* Contains thw wizard plugin manager.
......
......@@ -20,7 +20,7 @@ class TagTest extends ViewUnitTestBase {
*
* @var array
*/
public static $modules = array('views', 'views_ui');
public static $modules = array('views', 'views_ui', 'user');
public static function getInfo() {
return array(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment