Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / entity / tests / src / Kernel / DeleteActionTest.php
index 140473f91b53828a275272501059995ed263fefd..68680f09dc1fe9a138072bd902f68fad8a4bd636 100644 (file)
@@ -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));
   }