@@ -62,10 +62,10 @@ function image_help($path, $arg) {
...
@@ -62,10 +62,10 @@ function image_help($path, $arg) {
return$output;
return$output;
case'admin/config/media/image-styles':
case'admin/config/media/image-styles':
return'<p>'.t('Image styles commonly provide thumbnail sizes by scaling and cropping images, but can also add various effects before an image is displayed. When an image is displayed with a style, a new file is created and the original image is left unchanged.').'</p>';
return'<p>'.t('Image styles commonly provide thumbnail sizes by scaling and cropping images, but can also add various effects before an image is displayed. When an image is displayed with a style, a new file is created and the original image is left unchanged.').'</p>';
$this->assertText(t('Changes to the style have been saved.'),format_string('Style %name was renamed to %new_name.',array('%name'=>$style_name,'%new_name'=>$new_style_name)));
$this->assertText(t('Changes to the style have been saved.'),format_string('Style %name was renamed to %new_name.',array('%name'=>$style_name,'%new_name'=>$new_style_name)));
$this->drupalGet('node/'.$nid);
$this->drupalGet('node/'.$nid);
$this->assertRaw(image_style_url($new_style_name,file_load($node->{$field_name}[LANGUAGE_NOT_SPECIFIED][0]['fid'])->uri),'Image displayed using style replacement style.');
$this->assertRaw(image_style_url($new_style_name,file_load($node->{$field_name}[LANGUAGE_NOT_SPECIFIED][0]['fid'])->uri),'Image displayed using style replacement style.');
...
@@ -285,7 +289,7 @@ function testStyleReplacement() {
...
@@ -285,7 +289,7 @@ function testStyleReplacement() {