Skip to content

Commit

Permalink
Fix infection
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkusebauch committed Jan 17, 2025
1 parent e59fb6b commit 48fc97d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/Core/Dependency/DependencyResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ protected function setUp(): void

public function testResolveWithDefaultEmitters(): void
{
$this->expectNotToPerformAssertions();

$astMap = new AstMap([]);

$this->dispatcher->method('dispatch')->willReturnOnConsecutiveCalls(
Expand All @@ -78,8 +80,10 @@ public function testResolveWithDefaultEmitters(): void

public function testResolveWithCustomEmitters(): void
{
$astMap = new AstMap([]);
$this->expectNotToPerformAssertions();

$astMap = new AstMap([]);

$this->dispatcher->method('dispatch')->willReturnOnConsecutiveCalls(
new PreEmitEvent('FunctionDependencyEmitter'),
new PostEmitEvent(),
Expand Down

0 comments on commit 48fc97d

Please sign in to comment.