Skip to content
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

Add assertCount() for fake storage #53620

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

ahmadreza1383
Copy link
Contributor

This change adds a new method to the fake storage called assertCount.
This assertion checks that the number of files in a given path matches the expected value.
Additionally, it supports the recursive option to compare the total number of files, including those in subdirectories, with the expected value.

@ahmadreza1383 ahmadreza1383 marked this pull request as draft November 21, 2024 11:01
Copy link

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.

@ahmadreza1383 ahmadreza1383 force-pushed the fake-storage-assertcount branch from 1b689c9 to 789104b Compare November 21, 2024 11:02
@ahmadreza1383 ahmadreza1383 force-pushed the fake-storage-assertcount branch from 789104b to 5110ba9 Compare November 21, 2024 11:03
@ahmadreza1383 ahmadreza1383 marked this pull request as ready for review November 21, 2024 13:56
@taylorotwell taylorotwell reopened this Nov 21, 2024
@taylorotwell taylorotwell merged commit c87d319 into laravel:11.x Nov 21, 2024
32 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