summaryrefslogtreecommitdiff
path: root/modules/user/user.test
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-02-20 15:39:18 -0500
committerDavid Rothstein <drothstein@gmail.com>2013-02-20 15:39:18 -0500
commitb822ac338ad4ace7e354c51565605b43fb4539b7 (patch)
treee59a21e244ca7907aa1b59dea4cf67cefa03b7f8 /modules/user/user.test
parent98faa472067f4fb120d97a7cf0eb486a1435f2c9 (diff)
parent3a24da1b40f5e05876ad7775044500b61eb2ed94 (diff)
downloadbrdo-b822ac338ad4ace7e354c51565605b43fb4539b7.tar.gz
brdo-b822ac338ad4ace7e354c51565605b43fb4539b7.tar.bz2
Merge tag '7.20' into 7.x
Diffstat (limited to 'modules/user/user.test')
-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"));