You are here

function CommentModuleTestCase::comment_contact_info_available in SimpleTest 6

Check for contact info.

Return value

boolean Contact info is avialable.

1 call to CommentModuleTestCase::comment_contact_info_available()
CommentModuleTestCase::testAnonymous in tests/comment_module.test
Test anonymous comment functionality.

File

tests/comment_module.test, line 338

Class

CommentModuleTestCase

Code

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