Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
@@ -26,6 +26,8 @@ class ReportingServiceTest extends TestCase
|
||||
$dispatcher = $this->createMock(EventDispatcherInterface::class);
|
||||
$dispatcher->expects($this->exactly($isGranted ? 1 : 0))->method('dispatch')->willReturnCallback(function ($event) {
|
||||
$this->assertInstanceOf(ReportingEvent::class, $event);
|
||||
|
||||
return $event;
|
||||
});
|
||||
|
||||
$security = $this->createMock(AuthorizationCheckerInterface::class);
|
||||
|
||||
Reference in New Issue
Block a user