Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
7b9fdf1d
Commit
7b9fdf1d
authored
Sep 10, 2016
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed deprecation handler in tests
parent
e6dd62a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
tests/Silex/Tests/Provider/MonologServiceProviderTest.php
tests/Silex/Tests/Provider/MonologServiceProviderTest.php
+13
-0
No files found.
tests/Silex/Tests/Provider/MonologServiceProviderTest.php
View file @
7b9fdf1d
...
@@ -25,6 +25,19 @@ use Symfony\Component\HttpFoundation\Request;
...
@@ -25,6 +25,19 @@ use Symfony\Component\HttpFoundation\Request;
*/
*/
class
MonologServiceProviderTest
extends
\PHPUnit_Framework_TestCase
class
MonologServiceProviderTest
extends
\PHPUnit_Framework_TestCase
{
{
private
$currErrorHandler
;
protected
function
setUp
()
{
$this
->
currErrorHandler
=
set_error_handler
(
'var_dump'
);
restore_error_handler
();
}
protected
function
tearDown
()
{
set_error_handler
(
$this
->
currErrorHandler
);
}
public
function
testRequestLogging
()
public
function
testRequestLogging
()
{
{
$app
=
$this
->
getApplication
();
$app
=
$this
->
getApplication
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment