Permalink
Browse files

fixed tests

  • Loading branch information...
1 parent 9903ffb commit 3510b153dd82ed4b5c645b6b9630b95db07b6510 @bamarni bamarni committed Oct 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Tests/Form/Doctrine/Type/DocumentAutocompleterTypeTest.php
@@ -224,7 +224,7 @@ public function testValueAjaxData()
$this->assertEquals(array(), $view->vars['choices']);
$this->assertEquals(json_encode(array(
- 'value' => '2',
+ 'value' => 2,
'label' => 'Bar',
)), $form->getClientData());
$this->assertSame($document2, $form->getData());
@@ -260,7 +260,7 @@ public function testValueAjaxMultipleData()
$this->assertEquals(array(), $view->vars['choices']);
$this->assertEquals(json_encode(array(
- array('value' => '2', 'label' => 'Bar')
+ array('value' => 2, 'label' => 'Bar')
)), $form->getClientData());
$this->assertSame($existing, $form->getData());

0 comments on commit 3510b15

Please sign in to comment.