indiehd / velkart

An extensible shopping cart, order management, and payment processing system built upon clean-coding principles and designed for Laravel.
GNU Affero General Public License v3.0
1 stars 4 forks source link

[Tests] Calling fresh() on CRUD Operations #20

Open poppabear8883 opened 4 years ago

poppabear8883 commented 4 years ago

To eliminate false results in testing data in the case that Cache is implemented we should call the ->fresh(); method on the model instance for every CRUD call.

poppabear8883 commented 2 years ago

I must be blind or something, I can not find the reference to this issue in the above merged PR. In addition, I'm not seeing anywhere in the PR in question that has addressed this issue unless I am missing something in regards to Factories ?