mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
chore: add Symfony Profiler integration for PHPFlasher
This commit is contained in:
@@ -83,6 +83,10 @@ final class ConfigurationTest extends TestCase
|
||||
],
|
||||
'translate' => true,
|
||||
'inject_assets' => true,
|
||||
'excluded_paths' => [
|
||||
'/^\/_profiler/',
|
||||
'/^\/_fragment/',
|
||||
],
|
||||
'filter' => [],
|
||||
'presets' => [
|
||||
'created' => [
|
||||
|
||||
@@ -47,7 +47,7 @@ final class FlasherListenerTest extends TestCase
|
||||
|
||||
public function testGetSubscribedEvents(): void
|
||||
{
|
||||
$expectedEvents = [ResponseEvent::class => ['onKernelResponse', -256]];
|
||||
$expectedEvents = [ResponseEvent::class => ['onKernelResponse', -20]];
|
||||
$subscribedEvents = FlasherListener::getSubscribedEvents();
|
||||
|
||||
// Verify that the FlasherListener is subscribed to the correct event and priority.
|
||||
|
||||
Reference in New Issue
Block a user