Commit b15d9a91 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #1598570 by Rob Loach: PSR-0 for error.test

parent c0f384fa
<?php <?php
/** /**
* Tests Drupal error and exception handlers. * @file
* Definition of Drupal\system\Tests\ErrorHandlerTest.
*/ */
namespace Drupal\system\Tests;
use Drupal\simpletest\WebTestBase; use Drupal\simpletest\WebTestBase;
class DrupalErrorHandlerUnitTest extends WebTestBase { /**
* Tests error and exception handlers.
*/
class ErrorHandlerTest extends WebTestBase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Drupal error handlers', 'name' => 'Error handlers',
'description' => 'Performs tests on the Drupal error and exception handler.', 'description' => 'Performs tests on the Drupal error and exception handler.',
'group' => 'System', 'group' => 'System',
); );
...@@ -116,4 +122,3 @@ function assertNoErrorMessage(array $error) { ...@@ -116,4 +122,3 @@ function assertNoErrorMessage(array $error) {
$this->assertNoRaw($message, t('Did not find error message: !message.', array('!message' => $message))); $this->assertNoRaw($message, t('Did not find error message: !message.', array('!message' => $message)));
} }
} }
...@@ -12,7 +12,6 @@ files[] = tests/batch.test ...@@ -12,7 +12,6 @@ files[] = tests/batch.test
files[] = tests/cache.test files[] = tests/cache.test
files[] = tests/common.test files[] = tests/common.test
files[] = tests/database.test files[] = tests/database.test
files[] = tests/error.test
files[] = tests/file.test files[] = tests/file.test
files[] = tests/filetransfer.test files[] = tests/filetransfer.test
files[] = tests/form.test files[] = tests/form.test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment