Removed tests that made sure we couldnt edit default styles without overriding (no longer applicable)

8.0.x
Greg Dunlap 2012-02-13 19:29:51 -05:00
parent 495aef8fb1
commit b92e4eac3d
1 changed files with 0 additions and 6 deletions

View File

@ -516,12 +516,6 @@ class ImageAdminStylesUnitTest extends ImageFieldTestCase {
$delete_path = 'admin/config/media/image-styles/delete/' . $style_name;
$revert_path = 'admin/config/media/image-styles/revert/' . $style_name;
// Ensure that editing a default is not possible (without overriding).
$this->drupalGet($edit_path);
$this->assertNoField('edit-name', t('Default styles may not be renamed.'));
$this->assertNoField('edit-submit', t('Default styles may not be edited.'));
$this->assertNoField('edit-add', t('Default styles may not have new effects added.'));
// Create an image to make sure the default works before overriding.
drupal_static_reset('image_styles');
$style = image_style_load($style_name);