diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-12 08:36:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-12 08:36:35 +0000 |
commit | 6dc5b5449d6c52b433e6b712786c2e49778a363f (patch) | |
tree | 66e4926fa3dcc0a33f46f4145ca5b72bf7458943 /modules/user/user.test | |
parent | 065fa60551edddc27a30d04cecb58b30b7ac8e3c (diff) | |
download | brdo-6dc5b5449d6c52b433e6b712786c2e49778a363f.tar.gz brdo-6dc5b5449d6c52b433e6b712786c2e49778a363f.tar.bz2 |
- Patch #491456 by quicksketch, drewish, et al: image effects and actions.
Diffstat (limited to 'modules/user/user.test')
-rw-r--r-- | modules/user/user.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/user.test b/modules/user/user.test index 2683dfb32..ee77d0dcc 100644 --- a/modules/user/user.test +++ b/modules/user/user.test @@ -563,7 +563,8 @@ class UserPictureTestCase extends DrupalWebTestCase { $text = t('The image was resized to fit within the maximum allowed dimensions of %dimensions pixels.', array('%dimensions' => $test_dim)); $this->assertRaw($text, t('Image was resized.')); $alt = t("@user's picture", array('@user' => $this->user->name)); - $this->assertRaw(theme('image', $pic_path, $alt, $alt, '', FALSE), t("Image is displayed in user's edit page")); + $style = variable_get('user_picture_style', ''); + $this->assertRaw(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")); |