运行vendor / bin / phpunit时需要Bootstrap.php

时间:2019-01-31 02:40:02

标签: php cakephp phpunit

我正在使用PHPUnit使用CakePHP,但是由于该错误,我无法测试我的测试:

  

PHP警告:   require(/home/etd/MonApplication/vendor/cakephp/cakephp/config/bootstrap.php):   无法打开流:在该目录中没有这样的文件或目录   /home/etd/MonApplication/config/bootstrap.php,第30行

     

PHP致命错误:require():必须打开失败   '/home/etd/MonApplication/vendor/cakephp/cakephp/config/bootstrap.php'   (include_path ='。:/ usr / share / pear:/ usr / share / php')在   /home/etd/MonApplication/config/bootstrap.php,第30行

这是我的第30行:

  

需要CORE_PATH。 'config'。 DS。 'bootstrap.php';

有帮助吗? THX

0 个答案:

没有答案