File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed
Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- bootstrap =" tests/bootstrap.php"
43 colors =" true"
54 xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
65 displayDetailsOnTestsThatTriggerDeprecations =" true"
Original file line number Diff line number Diff line change 1111use Symfony \Component \Console \Tester \CommandTester ;
1212
1313use function interface_exists ;
14+ use function restore_exception_handler ;
1415
1516class InfoDoctrineCommandTest extends TestCase
1617{
@@ -38,5 +39,7 @@ public function testExecute(): void
3839 'Found 3 mapped entities ' ,
3940 $ commandTester ->getDisplay (),
4041 );
42+
43+ restore_exception_handler ();
4144 }
4245}
Original file line number Diff line number Diff line change 1616
1717use function assert ;
1818use function interface_exists ;
19+ use function restore_exception_handler ;
1920
2021class RegistryTest extends TestCase
2122{
@@ -146,5 +147,7 @@ public function testIdentityMapsStayConsistentAfterReset(): void
146147 $ this ->assertFalse ($ repository ->getEntityManager ()->getUnitOfWork ()->isEntityScheduled ($ entity ));
147148
148149 $ entityManager ->flush ();
150+
151+ restore_exception_handler ();
149152 }
150153}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments