Skip to content

[12.x] Add enum to persistentFake()- and add tests#58287

Merged
taylorotwell merged 3 commits into
laravel:12.xfrom
jackbayliss:add-enum-for-persistentFake
Jan 5, 2026
Merged

[12.x] Add enum to persistentFake()- and add tests#58287
taylorotwell merged 3 commits into
laravel:12.xfrom
jackbayliss:add-enum-for-persistentFake

Conversation

@jackbayliss

@jackbayliss jackbayliss commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

#58076 added enums to the fake() method.

I noticed this ideally should also be on the persistentFake method too just to keep consistency - as both are documented

I've also added a simple test to prevent any regression - as noticed there wasnt any.

Thank you!

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

Thanks for submitting a PR!

Note that draft PR's 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.

@jackbayliss jackbayliss changed the title [12.x] Add enum to persistentFake - and add tests [12.x] Add enum to persistentFake Storage facade- and add tests Jan 5, 2026
@jackbayliss jackbayliss changed the title [12.x] Add enum to persistentFake Storage facade- and add tests [12.x] Add enum to persistentFake()- and add tests Jan 5, 2026
@jackbayliss jackbayliss marked this pull request as ready for review January 5, 2026 21:41
@taylorotwell taylorotwell merged commit fa48122 into laravel:12.x Jan 5, 2026
70 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