Symfony 3.4 - “no commands defined in the “doctrine:schema” namespace” when attempting to run console command in class

前端 未结 3 985
Happy的楠姐
Happy的楠姐 2021-01-25 03:56

I\'m following along with this blog to create unit tests that use my data fixtures as a base. The relevant code:

namespace Tests\\AppBundle\\Repository;

use Sy         


        
3条回答
  •  死守一世寂寞
    2021-01-25 04:30

    doctrine/doctrine-bundle and doctrine/doctrine-fixtures-bundle should be installed to run doctrine:schema and doctrine:fixtures commands

提交回复
热议问题