Eccube\Tests\Web\Admin\Setting\System\AuthorityControllerTest::createFormData PHP Method

createFormData() protected method

protected createFormData ( null $AuthorityRole = null ) : array
$AuthorityRole null
return array
    protected function createFormData($AuthorityRole = null)
    {
        if (!$AuthorityRole) {
            $AuthorityRole = $this->newTestAuthorityRole();
        }
        $form = array(array('Authority' => $AuthorityRole->getAuthority()->getId(), 'deny_url' => '/test'));
        return $form;
    }