1.20.x 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
- modules/
simpletest/ backdrop_web_test_case.php, line 519
Class
- BackdropTestCase
- Base class for Backdrop tests.
Code
protected function fail($message = NULL, $group = 'Other') {
return $this->assert(FALSE, $message, $group);
}