Exemplo n.º 1
0
 protected function setUp()
 {
     parent::setUp();
     $this->form = new FormTestObject($this->container->get('config.factory'));
     $this->values = array('bananas' => array('#value' => $this->randomString(10), '#config_name' => 'form_test.object', '#config_key' => 'bananas'));
 }
Exemplo n.º 2
0
 protected function setUp()
 {
     parent::setUp();
     $this->form = AccountSettingsForm::create($this->container);
     $this->values = array('anonymous' => array('#value' => $this->randomString(10), '#config_name' => 'user.settings', '#config_key' => 'anonymous'), 'user_mail_cancel_confirm_body' => array('#value' => $this->randomString(), '#config_name' => 'user.mail', '#config_key' => 'cancel_confirm.body'), 'user_mail_cancel_confirm_subject' => array('#value' => $this->randomString(20), '#config_name' => 'user.mail', '#config_key' => 'cancel_confirm.subject'), 'register_pending_approval_admin_body' => array('#value' => $this->randomString(), '#config_name' => 'user.mail', '#config_key' => 'register_pending_approval_admin.body'), 'register_pending_approval_admin_subject' => array('#value' => $this->randomString(20), '#config_name' => 'user.mail', '#config_key' => 'register_pending_approval_admin.subject'));
 }