1 backdrop_web_test_case.php protected BackdropTestCase::fail($message = NULL, $group = 'Other')

Fire an assertion that is always negative.

Parameters

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

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

Return value

FALSE.:

File

core/modules/simpletest/backdrop_web_test_case.php, line 510

Class

BackdropTestCase
Base class for Backdrop tests.

Code

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