Skip to content

[13.x] Implement creationTimeOfOldestPendingJob on the QueueFake#60730

Draft
jackbayliss wants to merge 2 commits into
laravel:13.xfrom
jackbayliss:13-ensure-creationTimeOfOldestPendingJob-works-on-queue-fake
Draft

[13.x] Implement creationTimeOfOldestPendingJob on the QueueFake#60730
jackbayliss wants to merge 2 commits into
laravel:13.xfrom
jackbayliss:13-ensure-creationTimeOfOldestPendingJob-works-on-queue-fake

Conversation

@jackbayliss

Copy link
Copy Markdown
Contributor

This bothered me as it was the only method still stubbed.

The PR ensures creationTimeOfOldestPendingJob works on the fake, and we now also ensure all the InspectedJob classes have a createdAt set, which is what would happen on the real drivers, which again is nice if you're using any of the methods and diving into the classes!

This now means, all the queue metrics/inspection methods are covered by the fake 🥳 🥳 🥳 🥳 🥳

@jackbayliss jackbayliss changed the title [13.x] Implement creationTimeOfOldestPendingJob on the QueueFake [13.x] Implement creationTimeOfOldestPendingJob on the QueueFake Jul 10, 2026
@github-actions

Copy link
Copy Markdown

Thanks for submitting a PR!

Note that draft PRs are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

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.

1 participant