class QuickEditImageControllerTest
Same name in this branch
- 9 core/modules/quickedit/tests/src/Functional/QuickEditImageControllerTest.php \Drupal\Tests\quickedit\Functional\QuickEditImageControllerTest
Same name and namespace in other branches
- 8.9.x core/modules/image/tests/src/Functional/QuickEditImageControllerTest.php \Drupal\Tests\image\Functional\QuickEditImageControllerTest
Tests class \Drupal\image\Controller\QuickEditImageController deprecation.
@group image @group legacy
Hierarchy
- class \Drupal\Tests\image\Kernel\QuickEditImageControllerTest
Expanded class hierarchy of QuickEditImageControllerTest
File
-
core/
modules/ image/ tests/ src/ Kernel/ QuickEditImageControllerTest.php, line 14
Namespace
Drupal\Tests\image\KernelView source
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'));
}
}
Members
Title Sort descending | Deprecated | Modifiers | Object type | Summary |
---|---|---|---|---|
AssertLegacyTrait::assert | Deprecated | protected | function | |
AssertLegacyTrait::assertEqual | Deprecated | protected | function | |
AssertLegacyTrait::assertIdentical | Deprecated | protected | function | |
AssertLegacyTrait::assertIdenticalObject | Deprecated | protected | function | |
AssertLegacyTrait::assertNotEqual | Deprecated | protected | function | |
AssertLegacyTrait::assertNotIdentical | Deprecated | protected | function | |
AssertLegacyTrait::pass | Deprecated | protected | function | |
AssertLegacyTrait::verbose | Deprecated | protected | function | |
PhpUnitWarnings::$deprecationWarnings | private static | property | Deprecation warnings from PHPUnit to raise with @trigger_error(). | |
PhpUnitWarnings::addWarning | public | function | Converts PHPUnit deprecation warnings to E_USER_DEPRECATED. | |
QuickEditImageControllerTest::testQuickEditImageControllerDeprecation | public | function | Tests class \Drupal\image\Controller\QuickEditImageController deprecation. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.