as an aside I have tried php artisan migrate:refresh and i am getting this same deleted migration throwing the undefined index error.
so its not just a phpunit problem. something else going on... at least i can expand my search now
I had finally got phpunit working and running a few tests... But I moved an objects creation to the setup and bam got errors. Since then I have cascaded down to a bin of pain.
Originally when I moved my objects creation to the setup method I got class hash not found. I tinkered around and got undefined index. I ran cache:config I believe when everything seemed to get hopeless.
Basically all my tests went from working to all erroring.
The error is referencing a migration which does not exist. I moved my migrations earlier today and regenerated them which is originally what got my tests working because sqlite was throwing errors that mysql didnt.
I don't really know what code to show because the tests are exactly the same as they were when I was getting green earlier. There seems to be some sort of error coming from my migrations again but I don't really know what to lookup or where to look.... any advice?
the exact error reads
ErrorException: Undefined Index: (invalid date/nonexistent file)MIGRATiON NAME
Edit: if you end up here looking for a potential source for the class hash not found error, what happened was when i added a setUp method I forgot to pass in the parent setup method. I think this was the main source of all my problems because when trying to fix that my problems cascaded down and took a while to fix so hopefully that helps someone
Please or to participate in this conversation.