Gc\View\Helper\AclTest::setUp PHP Méthode

setUp() protected méthode

This method is called before a test is executed.
protected setUp ( ) : void
Résultat void
    protected function setUp()
    {
        $this->user = UserModel::fromArray(array('lastname' => 'User test', 'firstname' => 'User test', 'email' => '[email protected]', 'login' => 'test', 'user_acl_role_id' => 1));
        $this->user->setPassword('test');
        $this->user->save();
        $this->object = new Acl($this->user);
    }