8000 Fix for Isssue #18091 · symfony/symfony@5e4b515 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5e4b515

Browse files
author
Koalabaerchen
committed
Fix for Isssue #18091
1 parent fcac5dd commit 5e4b515

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 8000
@@ -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)
0