$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));
}