function ErrorHandlerTest::assertNoErrorMessage in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/system/src/Tests/System/ErrorHandlerTest.php \Drupal\system\Tests\System\ErrorHandlerTest::assertNoErrorMessage()
Helper function: assert that the error message is not found.
2 calls to ErrorHandlerTest::assertNoErrorMessage()
- ErrorHandlerTest::testErrorHandler in core/
modules/ system/ src/ Tests/ System/ ErrorHandlerTest.php - Test the error handler.
- ErrorHandlerTest::testExceptionHandler in core/
modules/ system/ src/ Tests/ System/ ErrorHandlerTest.php - Test the exception handler.
File
- core/
modules/ system/ src/ Tests/ System/ ErrorHandlerTest.php, line 198 - Contains \Drupal\system\Tests\System\ErrorHandlerTest.
Class
- ErrorHandlerTest
- Performs tests on the Drupal error and exception handler.
Namespace
Drupal\system\Tests\SystemCode
function assertNoErrorMessage(array $error) {
$message = t('%type: @message in %function (line ', $error);
$this
->assertNoRaw($message, format_string('Did not find error message: @message.', array(
'@message' => $message,
)));
}