diff --git a/tests/Core/Dependency/DependencyResolverTest.php b/tests/Core/Dependency/DependencyResolverTest.php index 0c55b6a7..9e139607 100644 --- a/tests/Core/Dependency/DependencyResolverTest.php +++ b/tests/Core/Dependency/DependencyResolverTest.php @@ -53,6 +53,8 @@ protected function setUp(): void public function testResolveWithDefaultEmitters(): void { + $this->expectNotToPerformAssertions(); + $astMap = new AstMap([]); $this->dispatcher->method('dispatch')->willReturnOnConsecutiveCalls( @@ -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(),