File tree Expand file tree Collapse file tree 2 files changed +6
-26
lines changed Expand file tree Collapse file tree 2 files changed +6
-26
lines changed Original file line number Diff line number Diff line change 16
16
use ApiPlatform \Tests \Fixtures \TestBundle \Document \User as UserDocument ;
17
17
use ApiPlatform \Tests \Fixtures \TestBundle \Entity \User ;
18
18
use ApiPlatform \Tests \Fixtures \TestBundle \TestBundle ;
19
- use ApiPlatform \Tests \PhpUnitBundle ;
20
19
use Doctrine \Bundle \DoctrineBundle \ConnectionFactory ;
21
20
use Doctrine \Bundle \DoctrineBundle \DoctrineBundle ;
22
21
use Doctrine \Bundle \MongoDBBundle \Command \TailCursorDoctrineODMCommand ;
@@ -69,7 +68,6 @@ public function registerBundles(): array
69
68
new WebProfilerBundle (),
70
69
new FrameworkBundle (),
71
70
new MakerBundle (),
72
- new PhpUnitBundle (),
73
71
];
74
72
75
73
if (null === ($ _ENV ['APP_PHPUNIT ' ] ?? null )) {
@@ -85,6 +83,12 @@ public function registerBundles(): array
85
83
return $ bundles ;
86
84
}
87
85
86
+ public function shutdown (): void
87
+ {
88
+ parent ::shutdown ();
89
+ restore_exception_handler ();
90
+ }
91
+
88
92
public function getProjectDir (): string
89
93
{
90
94
return __DIR__ ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments