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
f9eadbcd
Commit
f9eadbcd
authored
Sep 10, 2016
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.3'
* 1.3: fixed deprecation handler in tests
parents
1e4d9608
f7a7809d
Changes
1
Hide 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 @
f9eadbcd
...
...
@@ -27,6 +27,19 @@ use Symfony\Component\HttpKernel\Kernel;
*/
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
()
{
$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