Laravel - RuntimeException - Could not scan for classes inside “app/tests/TestCase.php”

空扰寡人 提交于 2019-12-04 00:54:41

Do you have a app/tests/TestCase.php file on your production server?

If not - you should remove it from composer.json (or put the file back there)

I have same problem facing in Laravel 5.1, But is resolved now. Solution is : only test directory and files are in root directory structure. Other wise we removed in composer.json.

Note: We should be maintain for the core Directory structure and files on frameworks, due to feature migration and enhance the project and testing purpose.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!