Codecept 在我的应用程序中用于单元测试,不小心,它停止工作并在运行单元测试时出现以下错误:
In ModuleContainer.php line 80:
Module Laravel could not be found and loaded
Laravel 模块在“enabled”部分下的unit.suite.yml 中使用,如下所示:
modules:
enabled:
- Asserts
- \Helper\Unit
- Db
- Laravel
- Cli
- \Helper\ElasticsearchHelper
作曲家 json
"require-dev": {
"codeception/codeception": "^2.4",
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
有没有办法在 Laravel 中启用 Laravel 模块。该应用程序是使用 laravel Lumen 开发的。