diff --git a/core/modules/rest/lib/Drupal/rest/Tests/DBLogTest.php b/core/modules/rest/lib/Drupal/rest/Tests/DBLogTest.php index f3e0eda..92781f0 100644 --- a/core/modules/rest/lib/Drupal/rest/Tests/DBLogTest.php +++ b/core/modules/rest/lib/Drupal/rest/Tests/DBLogTest.php @@ -19,7 +19,7 @@ class DBLogTest extends RESTTestBase { * * @var array */ - public static $modules = array('hal', 'rest', 'dblog'); + public static $modules = array('hal', 'rest', 'dblog', 'rest_test'); public static function getInfo() { return array( diff --git a/core/modules/system/tests/modules/entity_cache_test/entity_cache_test.module b/core/modules/system/tests/modules/entity_cache_test/entity_cache_test.module index ff34ed7..2d934b3 100644 --- a/core/modules/system/tests/modules/entity_cache_test/entity_cache_test.module +++ b/core/modules/system/tests/modules/entity_cache_test/entity_cache_test.module @@ -20,5 +20,5 @@ function entity_cache_test_modules_enabled($modules_enabled) { $info = entity_get_info('entity_cache_test'); // Store the information in a system variable to analyze it later in the // test case. - state()->set('entity_cache_test', $info); + Drupal::state()->set('entity_cache_test', $info); }