Skip to content

Conversation

@Amirhf1
Copy link
Contributor

@Amirhf1 Amirhf1 commented Apr 5, 2025

This PR adds comprehensive tests for the InvokeSerializedClosureCommand class located in the Concurrency component.

The tests cover the following scenarios:

  • Invoking a serialized closure from command argument
  • Invoking a serialized closure from environment variable
  • Default handling when no closure is provided
  • Proper exception handling
  • Custom exception parameters capture

These tests ensure that the command, which is used by the Concurrency system to execute serialized closures in separate processes, functions correctly in all scenarios.

@taylorotwell taylorotwell merged commit 8bb7e9d into laravel:12.x Apr 5, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants