I have found that the functional tests in Symfony2 always try to request pages as \"http://localhost\"
My environment is setup with virtual hosts so I have my applic
I found that I can pass the domain in to the Client. I will just make a base WebTestCase with this functionality so my tests work.
WebTestCase
$client = static::createClient(array(), array('HTTP_HOST' => 'symfony.dev')); $client->followRedirects(true);