
| Current Path : /var/www/html/pallets_old/web/core/modules/image/tests/src/Kernel/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/pallets_old/web/core/modules/image/tests/src/Kernel/QuickEditImageControllerTest.php |
<?php
namespace Drupal\Tests\image\Kernel;
use Drupal\image\Controller\QuickEditImageController;
use Drupal\KernelTests\KernelTestBase;
/**
* Tests class \Drupal\image\Controller\QuickEditImageController deprecation.
*
* @group image
* @group legacy
*/
class QuickEditImageControllerTest extends KernelTestBase {
/**
* Tests class \Drupal\image\Controller\QuickEditImageController deprecation.
*/
public function testQuickEditImageControllerDeprecation(): void {
$this->expectDeprecation('Drupal\image\Controller\QuickEditImageController is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Instead, use Drupal\quickedit\QuickEditImageController. See https://www.drupal.org/node/3271848');
new QuickEditImageController(
$this->container->get('renderer'),
$this->container->get('image.factory'),
$this->container->get('tempstore.private'),
$this->container->get('entity_display.repository'),
$this->container->get('file_system')
);
}
}