diff --git a/core/lib/Drupal/Core/Theme/ThemeInitialization.php b/core/lib/Drupal/Core/Theme/ThemeInitialization.php index 8779f98..fee7cd6 100644 --- a/core/lib/Drupal/Core/Theme/ThemeInitialization.php +++ b/core/lib/Drupal/Core/Theme/ThemeInitialization.php @@ -296,7 +296,7 @@ protected function prepareStylesheetsRemove(Extension $theme, $base_themes) { /** * Ensures that a full path is returned for an overriding theme asset. - * + * * @param \Drupal\Core\Extension\Extension $theme * The theme or base theme. * @param string $source diff --git a/core/modules/system/src/Tests/Asset/LibraryDiscoveryIntegrationTest.php b/core/modules/system/src/Tests/Asset/LibraryDiscoveryIntegrationTest.php index f109d4c..dbd0b3e 100644 --- a/core/modules/system/src/Tests/Asset/LibraryDiscoveryIntegrationTest.php +++ b/core/modules/system/src/Tests/Asset/LibraryDiscoveryIntegrationTest.php @@ -158,19 +158,19 @@ public function testLibrariesOverrideOtherAssetLibraryNames() { $theme_manager->setActiveTheme($theme_initializer->getActiveThemeByName('test_theme')); // Assert Drupal relative paths. - $library = $library_discovery->getLibraryByName('core', 'jquery.once'); + $library = $library_discovery->getLibraryByName('core', 'drupal.dropbutton'); $this->assertAssetInLibrary($library['css'], 'drupal.dropbutton', 'themes/my_theme/css/dropbutton.css'); // Assert streamwrappers. - $library = $library_discovery->getLibraryByName('core', 'drupal.active-link'); + $library = $library_discovery->getLibraryByName('core', 'drupal.vertical-tabs'); $this->assertAssetInLibrary($library['css'], 'drupal.vertical-tabs', 'public://my_css/vertical-tabs.css'); // Assert protocol-free URI. - $library = $library_discovery->getLibraryByName('core', 'drupal.dialog'); + $library = $library_discovery->getLibraryByName('core', 'jquery.ui'); $this->assertAssetInLibrary($library['css'], 'jquery.ui', '//my-server/my_theme/css/jquery_ui.css'); // Assert regular URI. - $library = $library_discovery->getLibraryByName('core', 'jquery.farbtastic'); + $library = $library_discovery->getLibraryByName('core', 'jquery.farbtastic'); $this->assertAssetInLibrary($library['css'], 'jquery.farbtastic', 'http://example.com/my_theme/css/farbtastic.css'); }