Skip to content

Commit

Permalink
Switch MASTER_REQUEST to MAIN_REQUEST
Browse files Browse the repository at this point in the history
  • Loading branch information
damienalexandre committed Jan 31, 2024
1 parent d65cf89 commit 8711364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Messenger/MemoryQueuingFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function testFrameworkKernelTerminateResend(): void

// Simulate Kernel Response
$dispatcher->dispatch(
new ResponseEvent(self::$kernel, new Request(), Kernel::MASTER_REQUEST, new Response()),
new ResponseEvent(self::$kernel, new Request(), Kernel::MAIN_REQUEST, new Response()),
KernelEvents::RESPONSE
);

Expand Down Expand Up @@ -94,7 +94,7 @@ public function testFrameworkKernelTerminateWithNoMessage(): void

// Simulate Kernel Response
$dispatcher->dispatch(
new ResponseEvent(self::$kernel, new Request(), Kernel::MASTER_REQUEST, new Response()),
new ResponseEvent(self::$kernel, new Request(), Kernel::MAIN_REQUEST, new Response()),
KernelEvents::RESPONSE
);

Expand Down

0 comments on commit 8711364

Please sign in to comment.