FIX Removing ID from match in tests

This commit is contained in:
Guy 2018-05-30 12:25:49 +12:00
parent 614b525c04
commit c22daa2ee0

View File

@ -283,7 +283,7 @@ class CommentsExtensionTest extends FunctionalTest
$expected = '<textarea name="Comment"';
$this->assertContains($expected, $cf);
$expected = '<input type="submit" name="action_doPostComment" value="Post" class="action" id="comments-holder_action_doPostComment"';
$expected = '<input type="submit" name="action_doPostComment" value="Post" class="action"';
$this->assertContains($expected, $cf);
$expected = '/comments/spam/';