Skip to content

Commit

Permalink
feat: run in separate process DisableListenersTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Aug 11, 2024
1 parent f989ba8 commit 28216a8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
use Gacela\Framework\Bootstrap\GacelaConfig;
use Gacela\Framework\Gacela;
use GacelaTest\Feature\Framework\ListeningEvents\ClassResolver\Module\Facade;
use PHPUnit\Framework\Attributes\PreserveGlobalState;
use PHPUnit\Framework\Attributes\RunInSeparateProcess;
use PHPUnit\Framework\TestCase;
use RuntimeException;

final class DisableListenersTest extends TestCase
{
#[RunInSeparateProcess]
#[PreserveGlobalState(false)]
public function test_disable_class_resolver_listener(): void
{
Gacela::bootstrap(__DIR__, function (GacelaConfig $config): void {
Expand Down

0 comments on commit 28216a8

Please sign in to comment.