fix #3240807 : Crop type delete form doesn't warn of deleting dependent config such as image styles
1 unresolved thread
Merge request reports
Activity
146 146 $this->assertSession()->linkExists('Test image style'); 147 147 $this->clickLink(t('Delete')); 148 148 $this->assertSession()->pageTextContains(t('Are you sure you want to delete the crop type @name?', ['@name' => $edit['label']])); 149 // Tests if the user is warned that CROP is used in other configurations. 150 $this->assertSession()->pageTextContains(t('Test image style', ['@name' => $edit['label']])); Are yout going to test language? If not assert should use string. And there is no token '@name' in the string. Please remove.
changed this line in version 4 of the diff
Please register or sign in to reply