diff --git a/core/modules/block/lib/Drupal/block/Tests/BlockPreprocessUnitTest.php b/core/modules/block/lib/Drupal/block/Tests/BlockPreprocessUnitTest.php index ddbc40c..1bfcc62 100644 --- a/core/modules/block/lib/Drupal/block/Tests/BlockPreprocessUnitTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/BlockPreprocessUnitTest.php @@ -40,12 +40,12 @@ function testBlockClasses() { $block = entity_create('block', array( 'plugin' => 'system_menu_block:menu-admin', 'region' => 'footer', - 'id' => config('system.theme')->get('default') . '.machinename', + 'id' => \Drupal::config('system.theme')->get('default') . '.machinename', )); $variables = array(); $variables['elements']['#block'] = $block; - $variables['elements']['#configuration'] = $block->getPlugin()->getConfig(); + $variables['elements']['#configuration'] = $block->getPlugin()->getConfiguration(); $variables['elements']['#plugin_id'] = $block->get('plugin'); $variables['elements']['content'] = array(); $variables['content_attributes']['class'][] = 'test-class';