diff --git a/core/modules/block/lib/Drupal/block/Tests/BlockLanguageTest.php b/core/modules/block/lib/Drupal/block/Tests/BlockLanguageTest.php index 1b76d07..b9ac714 100644 --- a/core/modules/block/lib/Drupal/block/Tests/BlockLanguageTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/BlockLanguageTest.php @@ -93,6 +93,7 @@ public function testLanguageBlockVisibilityLanguageDelete() { $edit = array( 'visibility' => array( 'language' => array( + 'language_type' => 'language_interface', 'langcodes' => array( 'fr' => 'fr', ), diff --git a/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsReportsTest.php b/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsReportsTest.php index ec5fd54..ca42078 100644 --- a/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsReportsTest.php +++ b/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsReportsTest.php @@ -87,13 +87,10 @@ function testPopularContentBlock() { drupal_http_request($stats_path, array('method' => 'POST', 'data' => $post, 'headers' => $headers, 'timeout' => 10000)); // Configure and save the block. - $this->drupalPlaceBlock('statistics_popular_block', array( - 'label' => 'Popular content', - 'configuration' => array( - 'top_day_num' => 3, - 'top_all_num' => 3, - 'top_last_num' => 3, - ), + $this->drupalPlaceBlock('statistics_popular_block', array('label' => 'Popular content'), array( + 'top_day_num' => 3, + 'top_all_num' => 3, + 'top_last_num' => 3, )); // Get some page and check if the block is displayed.