diff --git a/core/modules/system/tests/fixtures/update/drupal-8.views-taxonomy-parent-2543726.php b/core/modules/system/tests/fixtures/update/drupal-8.views-taxonomy-parent-2543726.php index 893cfa3723..d9c8a99c83 100644 --- a/core/modules/system/tests/fixtures/update/drupal-8.views-taxonomy-parent-2543726.php +++ b/core/modules/system/tests/fixtures/update/drupal-8.views-taxonomy-parent-2543726.php @@ -23,7 +23,7 @@ ]) ->execute(); -$uuid = \Drupal::service('uuid'); +$uuid = new \Drupal\Component\Uuid\Php(); // The root tid. $tids = [0]; diff --git a/core/modules/taxonomy/tests/src/Functional/Update/TaxonomyParentUpdateTest.php b/core/modules/taxonomy/tests/src/Functional/Update/TaxonomyParentUpdateTest.php index dae3cc2925..6733e7e447 100644 --- a/core/modules/taxonomy/tests/src/Functional/Update/TaxonomyParentUpdateTest.php +++ b/core/modules/taxonomy/tests/src/Functional/Update/TaxonomyParentUpdateTest.php @@ -51,13 +51,6 @@ public function testTaxonomyUpdateParents() { // Run updates. $this->runUpdates(); - $tids = [ - // This reads as: tid with index 1 has tids with index 2 and 3 as parents. - 1 => [2, 3], - 2 => [3, 0], - 3 => [0], - ]; - /** @var \Drupal\taxonomy\TermInterface $term */ $term = Term::load(1); $parents = [2, 3];