Skip to content

Commit 0f55d93

Browse files
alamiraultnicolas-grekas
authored andcommitted
Remove unused private methods
1 parent ae8bac8 commit 0f55d93

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -854,25 +854,6 @@ public function testCreateViewFlatlabelTranslationParametersClosureReceivesValue
854854
$this->assertFlatViewWithlabelTranslationParameters($view);
855855
}
856856

857-
private function assertScalarListWithChoiceValues(ChoiceListInterface $list)
858-
{
859-
$this->assertSame(['a', 'b', 'c', 'd'], $list->getValues());
860-
861-
$this->assertSame([
862-
'a' => 'a',
863-
'b' => 'b',
864-
'c' => 'c',
865-
'd' => 'd',
866-
], $list->getChoices());
867-
868-
$this->assertSame([
869-
'a' => 'A',
870-
'b' => 'B',
871-
'c' => 'C',
872-
'd' => 'D',
873-
], $list->getOriginalKeys());
874-
}
875-
876857
private function assertObjectListWithGeneratedValues(ChoiceListInterface $list)
877858
{
878859
$this->assertSame(['0', '1', '2', '3'], $list->getValues());
@@ -892,25 +873,6 @@ private function assertObjectListWithGeneratedValues(ChoiceListInterface $list)
892873
], $list->getOriginalKeys());
893874
}
894875

895-
private function assertScalarListWithCustomValues(ChoiceListInterface $list)
896-
{
897-
$this->assertSame(['a', 'b', '1', '2'], $list->getValues());
898-
899-
$this->assertSame([
900-
'a' => 'a',
901-
'b' => 'b',
902-
1 => 'c',
903-
2 => 'd',
904-
], $list->getChoices());
905-
906-
$this->assertSame([
907-
'a' => 'A',
908-
'b' => 'B',
909-
1 => 'C',
910-
2 => 'D',
911-
], $list->getOriginalKeys());
912-
}
913-
914876
private function assertObjectListWithCustomValues(ChoiceListInterface $list)
915877
{
916878
$this->assertSame(['a', 'b', '1', '2'], $list->getValues());

0 commit comments

Comments
 (0)