Issue #2350999 by mikebarkas, penyaskito: Fix typo in CommentTitleTest

8.0.x
Jennifer Hodgdon 2014-10-07 05:51:16 -07:00
parent 5084e91f2e
commit c496dad8db
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class CommentTitleTest extends CommentTestBase {
$regex = '/<a id="comment-' . $comment->id() . '"(.*?)'; $regex = '/<a id="comment-' . $comment->id() . '"(.*?)';
$regex .= $comment->comment_body->value . '(.*?)'; $regex .= $comment->comment_body->value . '(.*?)';
$regex .= '/s'; $regex .= '/s';
$this->assertPattern($regex, 'Comment is created succesfully'); $this->assertPattern($regex, 'Comment is created successfully');
// Tests that markup is not generated for the comment without header. // Tests that markup is not generated for the comment without header.
$this->assertNoPattern('|<h3[^>]*></h3>|', 'Comment title H3 element not found when title is an empty string.'); $this->assertNoPattern('|<h3[^>]*></h3>|', 'Comment title H3 element not found when title is an empty string.');
} }