Skip to content
Snippets Groups Projects

fix #3240807 : Crop type delete form doesn't warn of deleting dependent config such as image styles

Open fix #3240807 : Crop type delete form doesn't warn of deleting dependent config such as image styles
1 unresolved thread
Open drdam requested to merge issue/crop-3240807:8.x-2.x into 8.x-2.x
1 unresolved thread
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
@@ -149,9 +149,7 @@ class CropFunctionalTest extends BrowserTestBase {
// Tests if the user is warned that CROP is used in other configurations.
$this->assertSession()->pageTextContains(t('Test image style', ['@name' => $edit['label']]));
// Delete a non existent crop type.
$this->drupalGet('admin/config/media/crop/manage/' . $edit['id'] . '/delete');
$this->submitForm([], 'Delete');
$this->assertSession()->responseContains(t('The crop type %name has been deleted.', ['%name' => $edit['label']]));
Loading