There is no open connection解決方法
symfonyでテストしようとしたら、コネクション開けないと怒られました。
基本に戻り、Jobeet8日目を読み返す。
コネクション確立用のDoctrine.php作ってなかった!
<?php // test/bootstrap/Doctrine.php include(dirname(__FILE__).'/unit.php'); $configuration = ProjectConfiguration::getApplicationConfiguration( 'frontend', 'test', true); new sfDatabaseManager($configuration);
つくって、テスト用のPHPファイルで読み込んだらテストできた。
テスト通らなかったけどね、