protected function ImageEffectsTestBase::removeEffectFromTestStyle in Image Effects 8.3
Same name and namespace in other branches
- 8 tests/src/Functional/ImageEffectsTestBase.php \Drupal\Tests\image_effects\Functional\ImageEffectsTestBase::removeEffectFromTestStyle()
- 8.2 tests/src/Functional/ImageEffectsTestBase.php \Drupal\Tests\image_effects\Functional\ImageEffectsTestBase::removeEffectFromTestStyle()
Remove an image effect from the image test style.
Parameters
string $uuid: The UUID of the effect to remove.
23 calls to ImageEffectsTestBase::removeEffectFromTestStyle()
- AspectSwitcherTest::testAspectSwitcherEffect in tests/
src/ Functional/ Effect/ AspectSwitcherTest.php - AspectSwitcher effect test.
- BackgroundTest::testBackgroundEffect in tests/
src/ Functional/ Effect/ BackgroundTest.php - Background effect test.
- BrightnessTest::testBrightnessEffect in tests/
src/ Functional/ Effect/ BrightnessTest.php - Brightness effect test.
- ColorShiftTest::testColorShiftEffect in tests/
src/ Functional/ Effect/ ColorShiftTest.php - Color Shift effect test.
- ContrastTest::testContrastEffect in tests/
src/ Functional/ Effect/ ContrastTest.php - Contrast effect test.
File
- tests/
src/ Functional/ ImageEffectsTestBase.php, line 155
Class
- ImageEffectsTestBase
- Base test class for image_effects tests.
Namespace
Drupal\Tests\image_effects\FunctionalCode
protected function removeEffectFromTestStyle($uuid) {
$effect = $this->testImageStyle
->getEffect($uuid);
$this->testImageStyle
->deleteImageEffect($effect);
$this
->assertEquals(SAVED_UPDATED, $this->testImageStyle
->save());
}