Re: Dealing with Security component in a CakePHP 2 test case

2011-11-18 Thread elitalon
I have also tried $this->Users->Components->disable('Security'); On Nov 18, 1:55 pm, elitalon wrote: > I am trying to test a CakePHP action that deals with a signup form > secured with the `Security` component. I have configured the component > in a UsersController like this: > >     public $comp

Dealing with Security component in a CakePHP 2 test case

2011-11-18 Thread elitalon
I am trying to test a CakePHP action that deals with a signup form secured with the `Security` component. I have configured the component in a UsersController like this: public $components = array( 'Security' => array('unlockedFields' => array('password_again')), ); I can execute th