diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-03-01 22:07:10 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-03-01 22:07:10 -0800 |
commit | 810a7b9a4a1f95939fb8c48a2d8e4ecd4a3f0002 (patch) | |
tree | 5cc9ee55d3cbf01a1d48cf553cfcb572f4d06e7f /modules/comment/comment.test | |
parent | 7500ee40f48666c71736fd0527aa61974a37209f (diff) | |
download | brdo-810a7b9a4a1f95939fb8c48a2d8e4ecd4a3f0002.tar.gz brdo-810a7b9a4a1f95939fb8c48a2d8e4ecd4a3f0002.tar.bz2 |
Revert "Issue #1058564 by Niklas Fiekas, droplet, grendzy, dixon_, naxoc: Fixed User picture does not appear in comment preview."
This reverts commit 186437d33a903cd3ae13c7f1b2160a88941cc614.
Diffstat (limited to 'modules/comment/comment.test')
-rw-r--r-- | modules/comment/comment.test | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/comment/comment.test b/modules/comment/comment.test index 3c85b12bd..723e5c4b9 100644 --- a/modules/comment/comment.test +++ b/modules/comment/comment.test @@ -956,18 +956,15 @@ class CommentPreviewTest extends CommentHelperCase { $this->setCommentSettings('comment_default_mode', COMMENT_MODE_THREADED, t('Comment paging changed.')); $this->drupalLogout(); - // Login as web user and add a signature and a user picture. + // Login as web user and add a signature. $this->drupalLogin($this->web_user); variable_set('user_signatures', 1); - variable_set('user_pictures', 1); $test_signature = $this->randomName(); $edit['signature[value]'] = '<a href="http://example.com/">' . $test_signature. '</a>'; $edit['signature[format]'] = 'filtered_html'; - $image = current($this->drupalGetTestFiles('image')); - $edit['files[picture_upload]'] = drupal_realpath($image->uri); $this->drupalPost('user/' . $this->web_user->uid . '/edit', $edit, t('Save')); - // As the web user, fill in the comment form and preview the comment. + // Fill in the comment form and preview the comment. $edit = array(); $edit['subject'] = $this->randomName(8); $edit['comment_body[' . $langcode . '][0][value]'] = $this->randomName(16); @@ -984,9 +981,6 @@ class CommentPreviewTest extends CommentHelperCase { // Check that the signature is displaying with the correct text format. $this->assertLink($test_signature); - - // Check that the user picture is displayed. - $this->assertFieldByXPath("//div[contains(@class, 'comment-preview')]//div[contains(@class, 'user-picture')]//img", NULL, 'User picture displayed.'); } /** |