File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \HttpKernel \Tests \DataCollector ;
1313
14- use Symfony \Component \Debug \ErrorHandler ;
1514use Symfony \Component \HttpKernel \DataCollector \LoggerDataCollector ;
1615
1716class LoggerDataCollectorTest extends \PHPUnit_Framework_TestCase
Original file line number Diff line number Diff line change 2020use Symfony \Component \HttpFoundation \Request ;
2121use Symfony \Component \EventDispatcher \EventDispatcher ;
2222
23- class EsiListenerTest extends \PHPUnit_Framework_TestCase
23+ class SurrogateListenerTest extends \PHPUnit_Framework_TestCase
2424{
2525 public function testFilterDoesNothingForSubRequests ()
2626 {
Original file line number Diff line number Diff line change @@ -274,21 +274,21 @@ public function doStuff()
274274 $ this ->assertEquals ($ expected , $ output );
275275 }
276276
277- public function testIsClassInActiveBundleFalse ()
277+ public function testLegacyIsClassInActiveBundleFalse ()
278278 {
279279 $ kernel = $ this ->getKernelMockForIsClassInActiveBundleTest ();
280280
281281 $ this ->assertFalse ($ kernel ->isClassInActiveBundle ('Not\In\Active\Bundle ' ));
282282 }
283283
284- public function testIsClassInActiveBundleFalseNoNamespace ()
284+ public function testLegacyIsClassInActiveBundleFalseNoNamespace ()
285285 {
286286 $ kernel = $ this ->getKernelMockForIsClassInActiveBundleTest ();
287287
288288 $ this ->assertFalse ($ kernel ->isClassInActiveBundle ('NotNamespacedClass ' ));
289289 }
290290
291- public function testIsClassInActiveBundleTrue ()
291+ public function testLegacyIsClassInActiveBundleTrue ()
292292 {
293293 $ kernel = $ this ->getKernelMockForIsClassInActiveBundleTest ();
294294
@@ -297,6 +297,8 @@ public function testIsClassInActiveBundleTrue()
297297
298298 protected function getKernelMockForIsClassInActiveBundleTest ()
299299 {
300+ $ this ->iniSet ('error_reporting ' , -1 & ~E_USER_DEPRECATED );
301+
300302 $ bundle = new FooBarBundle ();
301303
302304 $ kernel = $ this ->getKernel (array ('getBundles ' ));
You can’t perform that action at this time.
0 commit comments