#php artisan test hows old test cases instead of new ones

3 messages · Page 1 of 1 (latest)

solid moss
#

Currently have a problem when I use php artisan test ; I made 5 tests initially and all of them passed. When I removed everything but one test, it kept on showing that 5 tests were being ran, also said that they had errors. (at some point, I think I did config:cache which may have done something, but idk)

I tried php artisan optimize:clear , composer install , and composer clear-cache and came to no luck. At this point, I really dont know what'll work.

tawdry perch
#

Are you sure the files are deleted? If so, the only explanation I can think of is opcache, but that is usually not enabled in for CLI at all

#

Don't cache the config in dev, absolutely no need to do so. Run php artisan config:clear to remove that cache