Loading core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php +3 −0 Original line number Diff line number Diff line Loading @@ -155,6 +155,8 @@ public function testCoreLibraryCompleteness(): void { } sort($this->allModules); $this->container->get('module_installer')->install($this->allModules); // Get a library discovery from the new container. $this->libraryDiscovery = $this->container->get('library.discovery'); $this->assertLibraries(); } Loading @@ -174,6 +176,7 @@ public function testCoreLibraryCompletenessDeprecated(): void { } }); $this->container->get('module_installer')->install(array_keys($deprecated_modules_to_test)); $this->libraryDiscovery = $this->container->get('library.discovery'); $this->allModules = array_keys(\Drupal::moduleHandler()->getModuleList()); $this->assertLibraries(); Loading Loading
core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php +3 −0 Original line number Diff line number Diff line Loading @@ -155,6 +155,8 @@ public function testCoreLibraryCompleteness(): void { } sort($this->allModules); $this->container->get('module_installer')->install($this->allModules); // Get a library discovery from the new container. $this->libraryDiscovery = $this->container->get('library.discovery'); $this->assertLibraries(); } Loading @@ -174,6 +176,7 @@ public function testCoreLibraryCompletenessDeprecated(): void { } }); $this->container->get('module_installer')->install(array_keys($deprecated_modules_to_test)); $this->libraryDiscovery = $this->container->get('library.discovery'); $this->allModules = array_keys(\Drupal::moduleHandler()->getModuleList()); $this->assertLibraries(); Loading