X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fentity%2Ftests%2Fsrc%2FKernel%2FDeleteActionTest.php;fp=web%2Fmodules%2Fcontrib%2Fentity%2Ftests%2Fsrc%2FKernel%2FDeleteActionTest.php;h=68680f09dc1fe9a138072bd902f68fad8a4bd636;hp=140473f91b53828a275272501059995ed263fefd;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/entity/tests/src/Kernel/DeleteActionTest.php b/web/modules/contrib/entity/tests/src/Kernel/DeleteActionTest.php index 140473f91..68680f09d 100644 --- a/web/modules/contrib/entity/tests/src/Kernel/DeleteActionTest.php +++ b/web/modules/contrib/entity/tests/src/Kernel/DeleteActionTest.php @@ -74,8 +74,8 @@ class DeleteActionTest extends KernelTestBase { $action->execute($entities); // Confirm that the entity ids and langcodes are now in the tempstore. - $tempstore = \Drupal::service('user.private_tempstore')->get('entity_delete_multiple_confirm'); - $selection = $tempstore->get($this->user->id()); + $tempstore = \Drupal::service('tempstore.private')->get('entity_delete_multiple_confirm'); + $selection = $tempstore->get($this->user->id() . ':entity_test_enhanced'); $this->assertEquals(array_keys($entities), array_keys($selection)); $this->assertEquals([['en' => 'en'], ['en' => 'en']], array_values($selection)); }