使用Symfony 5.2和PhpUnit最新版本时,我的功能测试出现以下错误 LogicException: You cannot create the client used in functionaltests if the "framework.test" config is not set to true. config/packages/test/framework.yaml的内容: framework: session:
是否可以在不直接使用Symfony2的情况下将PDO::MYSQL_ATTR_LOCAL_INFILE => true / Doctrine配置设置为使用PDO::MYSQL_ATTR_LOCAL_INFILE=> true?Symfony版本为2.4PHP Warning: PDOStatement::execute(): LOAD DATA LOCAL INFILE forbidden in /..
getStatusCode());} You cannot create the client used in functional tests if the "framework.test" config is not set to trueframework: session: backupStaticAttributes
我在Symfony 3.2.4中设置功能测试有困难。WebTestCase public function testHTTPConnection() $client = static::createClient(); /Applications/MAMP/htdocs/Symfony/coremed/vendor/symfony