diff --git a/core/modules/system/tests/src/Functional/Update/PathAliasToEntityUpdateTest.php b/core/modules/system/tests/src/Functional/Update/PathAliasToEntityUpdateTest.php index e688faab80..19b62661a7 100644 --- a/core/modules/system/tests/src/Functional/Update/PathAliasToEntityUpdateTest.php +++ b/core/modules/system/tests/src/Functional/Update/PathAliasToEntityUpdateTest.php @@ -52,6 +52,10 @@ public function testConversionToEntities() { $this->runUpdates(); + /** @var \Drupal\Core\Extension\ModuleHandlerInterface $module_handler */ + $module_handler = $this->container->get('module_handler'); + $this->assertTrue($module_handler->moduleExists('path_alias')); + // Check that the 'path_alias' entity tables have been created and the // 'url_alias' table has been deleted. $this->assertTrue($schema->tableExists('path_alias'));