GcConfig\Controller\UserControllerTest::testCreateActionWithPostData PHP Méthode

testCreateActionWithPostData() public méthode

Test
public testCreateActionWithPostData ( ) : void
Résultat void
    public function testCreateActionWithPostData()
    {
        $this->dispatch('/admin/config/user/create', 'POST', array('email' => '[email protected]', 'firstname' => 'azdazd', 'lastname' => 'azdazd', 'login' => 'dazd', 'password' => 'azdazd', 'password_confirm' => 'azdazd', 'user_acl_role_id' => 2));
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcConfig');
        $this->assertControllerName('UserController');
        $this->assertControllerClass('UserController');
        $this->assertMatchedRouteName('config/user/create');
    }