You are here

public function SystemValidTokenTest::errorHandler in Drupal 7

Overrides DrupalTestCase::errorHandler().

Overrides DrupalTestCase::errorHandler

File

modules/system/system.test, line 3020
Tests for system.module.

Class

SystemValidTokenTest
Test case for drupal_valid_token().

Code

public function errorHandler($severity, $message, $file = NULL, $line = NULL) {
  if ($this->assertErrors) {
    return parent::errorHandler($severity, $message, $file, $line);
  }
  return TRUE;
}