Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / tests / src / Kernel / Extension / ModuleHandlerTest.php
index 22648a63912b7edb45685120e9f9216911311d3b..d7c2650353885d434bf11866c0ba518394990789 100644 (file)
@@ -3,7 +3,7 @@
 namespace Drupal\Tests\system\Kernel\Extension;
 
 use Drupal\Core\Extension\MissingDependencyException;
-use \Drupal\Core\Extension\ModuleUninstallValidatorException;
+use Drupal\Core\Extension\ModuleUninstallValidatorException;
 use Drupal\entity_test\Entity\EntityTest;
 use Drupal\KernelTests\KernelTestBase;
 
@@ -172,8 +172,8 @@ class ModuleHandlerTest extends KernelTestBase {
    * Tests uninstalling a module that is a "dependency" of a profile.
    */
   public function testUninstallProfileDependency() {
-    $profile = 'minimal';
-    $dependency = 'dblog';
+    $profile = 'testing';
+    $dependency = 'page_cache';
     $this->setSetting('install_profile', $profile);
     // Prime the drupal_get_filename() static cache with the location of the
     // minimal profile as it is not the currently active profile and we don't