Commit c496dad8 authored by jhodgdon's avatar jhodgdon
Browse files

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

parent 5084e91f
......@@ -38,7 +38,7 @@ public function testCommentEmptyTitles() {
$regex = '/<a id="comment-' . $comment->id() . '"(.*?)';
$regex .= $comment->comment_body->value . '(.*?)';
$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.
$this->assertNoPattern('|<h3[^>]*></h3>|', 'Comment title H3 element not found when title is an empty string.');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment