Skip to content

Commit f91d282

Browse files
authored
test: remove phpunitbundle (#6567)
1 parent f487c44 commit f91d282

File tree

2 files changed

+6
-26
lines changed

2 files changed

+6
-26
lines changed

tests/Fixtures/app/AppKernel.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use ApiPlatform\Tests\Fixtures\TestBundle\Document\User as UserDocument;
1717
use ApiPlatform\Tests\Fixtures\TestBundle\Entity\User;
1818
use ApiPlatform\Tests\Fixtures\TestBundle\TestBundle;
19-
use ApiPlatform\Tests\PhpUnitBundle;
2019
use Doctrine\Bundle\DoctrineBundle\ConnectionFactory;
2120
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
2221
use Doctrine\Bundle\MongoDBBundle\Command\TailCursorDoctrineODMCommand;
@@ -69,7 +68,6 @@ public function registerBundles(): array
6968
new WebProfilerBundle(),
7069
new FrameworkBundle(),
7170
new MakerBundle(),
72-
new PhpUnitBundle(),
7371
];
7472

7573
if (null === ($_ENV['APP_PHPUNIT'] ?? null)) {
@@ -85,6 +83,12 @@ public function registerBundles(): array
8583
return $bundles;
8684
}
8785

86+
public function shutdown(): void
87+
{
88+
parent::shutdown();
89+
restore_exception_handler();
90+
}
91+
8892
public function getProjectDir(): string
8993
{
9094
return __DIR__;

tests/PhpUnitBundle.php

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)