Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
b15d9a91
Commit
b15d9a91
authored
Jun 6, 2012
by
Jennifer Hodgdon
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1598570
by Rob Loach:
PSR-0
for error.test
parent
c0f384fa
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/modules/system/lib/Drupal/system/Tests/ErrorHandlerTest.php
+9
-4
9 additions, 4 deletions
...dules/system/lib/Drupal/system/Tests/ErrorHandlerTest.php
core/modules/system/system.info
+0
-1
0 additions, 1 deletion
core/modules/system/system.info
with
9 additions
and
5 deletions
core/modules/system/
t
ests/
e
rror
.test
→
core/modules/system/
lib/Drupal/system/T
ests/
E
rror
HandlerTest.php
+
9
−
4
View file @
b15d9a91
<?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 e
rror handlers'
,
'name'
=>
'
E
rror 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
)));
}
}
}
}
This diff is collapsed.
Click to expand it.
core/modules/system/system.info
+
0
−
1
View file @
b15d9a91
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment