New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.7] Update QueueFake with jobs getter. #27089

Merged
merged 3 commits into from Jan 7, 2019

Conversation

Projects
None yet
3 participants
@CraigHarley
Copy link
Contributor

CraigHarley commented Jan 7, 2019

When testing a queue this is super handy for testing whether the correct jobs have been pushed to the fake queue. For example if you're expecting multiple jobs to be pushed by a service, you can run the service and check Queue::getJobs() has the correct value.

CraigHarley and others added some commits Jan 7, 2019

Update QueueFake with jobs getter.
When testing a queue this is super handy for testing whether the correct jobs have been pushed to the fake queue.

@CraigHarley CraigHarley changed the title Update QueueFake with jobs getter. [5.7] Update QueueFake with jobs getter. Jan 7, 2019

@taylorotwell taylorotwell merged commit 5852c3f into laravel:5.7 Jan 7, 2019

2 checks passed

continuous-integration/styleci/pr The analysis has passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment