|
@@ -193,27 +193,6 @@ class DateTimeTypeTest extends LocalizedTestCase
|
|
|
$this->assertEquals('2010-06-02 03:04:00', $form->getClientData());
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * @expectedException Symfony\Component\Form\Exception\FormException
|
|
|
- */
|
|
|
- public function testDifferentWidgets()
|
|
|
- {
|
|
|
- $form = $this->factory->create('datetime', null, array(
|
|
|
- 'date_widget' => 'single_text',
|
|
|
- 'time_widget' => 'choice',
|
|
|
- ));
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * @expectedException Symfony\Component\Form\Exception\FormException
|
|
|
- */
|
|
|
- public function testDefinedOnlyOneWidget()
|
|
|
- {
|
|
|
- $form = $this->factory->create('datetime', null, array(
|
|
|
- 'date_widget' => 'single_text',
|
|
|
- ));
|
|
|
- }
|
|
|
-
|
|
|
public function testSubmit_differentPattern()
|
|
|
{
|
|
|
$form = $this->factory->create('datetime', null, array(
|