我在我的FormType下面的代碼: /**
* @var User
*/
protected $currentUser;
/**
* param User $currentUser
*/
public function __construct($currentUser)
{
$this->currentUser = $currentUser;
}
public
非常感謝Matteo(phpunit in symfony2 - No tests executed)我現在可以測試我的功能測試。 You must change the main Request object in the front controller (app.php)
in order to use the `host_with_path` strategy.
所以我沒有改變它在a