I tried creating the client with a fully-qualified url and with the route only and get the same error.
This is the error I get when running phpunit: There was 1 error: 1) ARN\UserBundle\Tests\Controller\UserControllerTest::testLoginAction InvalidArgumentException: The current node list is empty. This is the test case (minus username and pw): class UserControllerTest extends WebTestCase { public function testLoginAction() { $client = $this->createClient(); $crawler = $client->request('GET', '/user/login'); $form = $crawler->selectButton('submit')->form(); $form['_username'] = 'username'; $form['_password'] = 'password'; $crawler = $client->submit($form); } -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en