Issue #2350999 by mikebarkas, penyaskito: Fix typo in CommentTitleTest
parent
5084e91f2e
commit
c496dad8db
|
@ -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.');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue