Skip to content

Commit 1dee322

Browse files
committed
minor symfony#18121 Rename Choosen to Chosen in ModelChoiceListTest (Koalabaerchen)
This PR was merged into the 2.3 branch. Discussion ---------- Rename Choosen to Chosen in ModelChoiceListTest | Q | A | ------------- | --- | Branch | 2.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | symfony#18091 | License | MIT | Doc PR | n/a Commits ------- 5e4b515 Fix for Isssue symfony#18091
2 parents 8ab25a3 + 5e4b515 commit 1dee322

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/ModelChoiceListTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public function testGetValuesForChoices()
186186
$this->assertEquals(array(1, 2), $choiceList->getIndicesForChoices(array($item1, $item2)));
187187
}
188188

189-
public function testDifferentEqualObjectsAreChoosen()
189+
public function testDifferentEqualObjectsAreChosen()
190190
{
191191
$item = new Item(1, 'Foo');
192192

@@ -200,10 +200,10 @@ public function testDifferentEqualObjectsAreChoosen()
200200
array($item)
201201
);
202202

203-
$choosenItem = new Item(1, 'Foo');
203+
$chosenItem = new Item(1, 'Foo');
204204

205-
$this->assertEquals(array(1), $choiceList->getIndicesForChoices(array($choosenItem)));
206-
$this->assertEquals(array('1'), $choiceList->getValuesForChoices(array($choosenItem)));
205+
$this->assertEquals(array(1), $choiceList->getIndicesForChoices(array($chosenItem)));
206+
$this->assertEquals(array('1'), $choiceList->getValuesForChoices(array($chosenItem)));
207207
}
208208

209209
public function testGetIndicesForNullChoices()

0 commit comments

Comments
 (0)