summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-02-20 15:32:50 -0500
committerDavid Rothstein <drothstein@gmail.com>2013-02-20 15:32:50 -0500
commit3a24da1b40f5e05876ad7775044500b61eb2ed94 (patch)
treeec9ad554a72ac522f42a8836c3d3aef279856796 /modules/user
parent1d4604da252f0e6e19339957ec214388f61b908d (diff)
downloadbrdo-3a24da1b40f5e05876ad7775044500b61eb2ed94.tar.gz
brdo-3a24da1b40f5e05876ad7775044500b61eb2ed94.tar.bz2
Drupal 7.20
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.test b/modules/user/user.test
index 123beee6c..26e93ed3c 100644
--- a/modules/user/user.test
+++ b/modules/user/user.test
@@ -968,7 +968,7 @@ class UserPictureTestCase extends DrupalWebTestCase {
$this->assertRaw($text, t('Image was resized.'));
$alt = t("@user's picture", array('@user' => format_username($this->user)));
$style = variable_get('user_picture_style', '');
- $this->assertRaw(image_style_url($style, $pic_path), t("Image is displayed in user's edit page"));
+ $this->assertRaw(check_plain(image_style_url($style, $pic_path)), t("Image is displayed in user's edit page"));
// Check if file is located in proper directory.
$this->assertTrue(is_file($pic_path), t("File is located in proper directory"));