protected function ToolkitTestTrait::imageTestReset in Drupal 9
Resets/initializes the history of calls to the test toolkit functions.
2 calls to ToolkitTestTrait::imageTestReset()
- ToolkitTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Image/ ToolkitTest.php - ToolkitTestTrait::assertImageEffect in core/
tests/ Drupal/ Tests/ Traits/ Core/ Image/ ToolkitTestTrait.php - Asserts the effect processing of an image effect plugin.
File
- core/
tests/ Drupal/ Tests/ Traits/ Core/ Image/ ToolkitTestTrait.php, line 22
Class
- ToolkitTestTrait
- Provides common methods for image toolkit kernel tests.
Namespace
Drupal\Tests\Traits\Core\ImageCode
protected function imageTestReset() : void {
\Drupal::state()
->delete('image_test.results');
}