diff options
Diffstat (limited to 'modules/comment/comment.test')
-rw-r--r-- | modules/comment/comment.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.test b/modules/comment/comment.test index 3ba6b6717..bd835680c 100644 --- a/modules/comment/comment.test +++ b/modules/comment/comment.test @@ -46,7 +46,7 @@ class CommentHelperCase extends DrupalWebTestCase { $this->drupalPost(NULL, $edit, t('Save')); $match = array(); // Get comment ID - preg_match('/#comment-([^"]+)/', $this->getURL(), $match); + preg_match('/#comment-([0-9]+)/', $this->getURL(), $match); // Get comment. if ($contact !== TRUE) { // If true then attempting to find error message. |