Issue with the Entity Manager and phpunit in Symfony 2
- by rgazelot
I have an issue with my Entity Manager in phpunit.
This is my test :
public function testValidChangeEmail()
{
$client = self::createAuthClient('user','password');
$crawler = $client->request('GET', '/user/edit/30');
$crawler = $client->submit($crawler->selectButton('submit')->form(array(
'form[email]' =>…