function ToolkitTestTrait::imageTestReset
Same name in other branches
- 9 core/tests/Drupal/Tests/Traits/Core/Image/ToolkitTestTrait.php \Drupal\Tests\Traits\Core\Image\ToolkitTestTrait::imageTestReset()
- 10 core/tests/Drupal/Tests/Traits/Core/Image/ToolkitTestTrait.php \Drupal\Tests\Traits\Core\Image\ToolkitTestTrait::imageTestReset()
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 24
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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.