MainControllerTest code quality fix.
This commit is contained in:
parent
97dc750e08
commit
ca0991a623
|
@ -14,7 +14,7 @@ class MainControllerTest extends WebTestCase
|
|||
$userSearchForm = $crawler->filter('form.form-inline')->form();
|
||||
$userSearchForm['skobkin_bundle_pointtoolsbundle_user_search[login]'] = 'testuser';
|
||||
|
||||
$crawler = $client->submit($userSearchForm);
|
||||
$client->submit($userSearchForm);
|
||||
|
||||
$this->assertTrue($client->getResponse()->isRedirect('/user/testuser'), 'Redirect to testuser\'s page didn\'t happen');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue