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
1
Compare changes
  • Side-by-side
  • Inline
@@ -147,7 +147,7 @@ class CropFunctionalTest extends BrowserTestBase {
$this->clickLink(t('Delete'));
$this->assertSession()->pageTextContains(t('Are you sure you want to delete the crop type @name?', ['@name' => $edit['label']]));
// Tests if the user is warned that CROP is used in other configurations.
$this->assertSession()->pageTextContains(t('Test image style', ['@name' => $edit['label']]));
$this->assertSession()->pageTextContains('Test image style');
// Delete a non existent crop type.
$this->drupalGet('admin/config/media/crop/manage/' . $edit['id'] . '/delete');
Loading