1 comment.test CommentHelperCase::commentContactInfoAvailable()

Checks whether the commenter's contact information is displayed.

Return value

boolean: Contact info is available.

File

core/modules/comment/tests/comment.test, line 281
Tests for the Comment module.

Class

CommentHelperCase

Code

function commentContactInfoAvailable() {
  return preg_match('/(input).*?(name="name").*?(input).*?(name="mail").*?(input).*?(name="homepage")/s', $this->backdropGetContent());
}