Hey Laravel Developers
Starting with Laravel v11.34.0, we have a new assertCount() method available on the fake Storage class.
This method as the name suggests allows us to verify the count of the files uploaded on the specified path.
As handling and storing files is such a common task in any web application, having such assertion methods is good to have.
What do you think about it !!
Back