only in patch2: unchanged: --- a/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php @@ -196,8 +196,8 @@ public function testEnableAndListInfo() { 'css/colors.css', ), ), - 'scripts' => array( - 'example' => 'theme.js', + 'libraries' => array( + 'example/theme', ), 'engine' => 'twig', 'base theme' => 'stark', @@ -207,7 +207,7 @@ public function testEnableAndListInfo() { $this->assertCount(1, $list_info); $this->assertEquals($this->themeHandler->systemList['bartik']->info['stylesheets'], $list_info['bartik']->stylesheets); - $this->assertEquals($this->themeHandler->systemList['bartik']->scripts, $list_info['bartik']->scripts); + $this->assertEquals($this->themeHandler->systemList['bartik']->libraries, $list_info['bartik']->libraries); $this->assertEquals('twig', $list_info['bartik']->engine); $this->assertEquals('stark', $list_info['bartik']->base_theme); $this->assertEquals(0, $list_info['bartik']->status); @@ -219,7 +219,7 @@ public function testEnableAndListInfo() { 'style.css', ), ), - 'scripts' => array(), + 'libraries' => array(), ); $this->themeHandler->systemList['seven']->status = 1; @@ -274,7 +274,7 @@ public function testRebuildThemeData() { $this->assertEquals('twig', $info->prefix); $this->assertEquals('twig', $info->info['engine']); - $this->assertEquals(array(), $info->info['scripts']); + $this->assertEquals(array(), $info->info['libraries']); // Ensure that the css paths are set with the proper prefix. $this->assertEquals(array(