Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4777a4c5a0
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (32 sloc) 1.036 kb
* This file is part of the GenemuFormBundle package.
* (c) Olivier Chauvel <>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
namespace Genemu\Bundle\FormBundle\Tests\Form\JQuery\Type;
use Genemu\Bundle\FormBundle\Tests\Form\Type\TypeTestCase;
use Genemu\Bundle\FormBundle\Form\JQuery\Type\ChosenType;
* @author Bilal Amarni <>
class ChosenTypeTest extends TypeTestCase
public function testDefaultConfig()
$form = $this->factory->create(new ChosenType('country'));
$view = $form->createView();
$this->assertEquals(true, $view->vars['allow_single_deselect']);
public function testConstructorAffectsParentType()
$form = $this->factory->create(new ChosenType('country'));
Jump to Line
Something went wrong with that request. Please try again.