From 5e4b515f1b61c6b208d94dadd7b0824eb4548dbb Mon Sep 17 00:00:00 2001 From: Koalabaerchen Date: Sat, 12 Mar 2016 15:51:44 +0100 Subject: [PATCH] Fix for Isssue #18091 --- .../Propel1/Tests/Form/ChoiceList/ModelChoiceListTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/ModelChoiceListTest.php b/src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/ModelChoiceListTest.php index 3231b87c4f..4c306bec31 100644 --- a/src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/ModelChoiceListTest.php +++ b/src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/ModelChoiceListTest.php @@ -186,7 +186,7 @@ class ModelChoiceListTest extends Propel1TestCase $this->assertEquals(array(1, 2), $choiceList->getIndicesForChoices(array($item1, $item2))); } - public function testDifferentEqualObjectsAreChoosen() + public function testDifferentEqualObjectsAreChosen() { $item = new Item(1, 'Foo'); @@ -200,10 +200,10 @@ class ModelChoiceListTest extends Propel1TestCase array($item) ); - $choosenItem = new Item(1, 'Foo'); + $chosenItem = new Item(1, 'Foo'); - $this->assertEquals(array(1), $choiceList->getIndicesForChoices(array($choosenItem))); - $this->assertEquals(array('1'), $choiceList->getValuesForChoices(array($choosenItem))); + $this->assertEquals(array(1), $choiceList->getIndicesForChoices(array($chosenItem))); + $this->assertEquals(array('1'), $choiceList->getValuesForChoices(array($chosenItem))); } public function testGetIndicesForNullChoices()