1 error.test BackdropErrorHandlerUnitTest::assertNoErrorMessage(array $error)

Helper function: assert that the error message is not found.

File

core/modules/simpletest/tests/error.test, line 108

Class

BackdropErrorHandlerUnitTest
Tests Backdrop error and exception handlers.

Code

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)));
}