Skip navigation
Help

DrupalTestCase::pass

7 drupal_web_test_case.php protected DrupalTestCase::pass($message = NULL, $group = 'Other')

Fire an assertion that is always positive.

Parameters

$message: The message to display along with the assertion.

$group: The type of assertion - examples are "Browser", "PHP".

Return value

TRUE.

34 calls to DrupalTestCase::pass()

File

drupal/modules/simpletest/drupal_web_test_case.php, line 373

Code

protected function pass($message = NULL, $group = 'Other') {
  return $this->assert(TRUE, $message, $group);
}