Skip to content

Commit 2125210

Browse files
committed
fix test method name
Previously, the test was never executed because the method name did not start with the "test" prefix.
1 parent bcb455b commit 2125210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ public function testLoadChoicesForValuesDoesNotLoadIfEmptyValues()
296296
/**
297297
* @group legacy
298298
*/
299-
public function legacyTestLoadChoicesForValuesLoadsOnlyChoicesIfValueUseIdReader()
299+
public function testLegacyLoadChoicesForValuesLoadsOnlyChoicesIfValueUseIdReader()
300300
{
301-
$this->expectDeprecation('Not defining explicitly the IdReader as value callback when query can be optimized has been deprecated in 5.1. Don\'t pass the IdReader to "Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader" or define the choice_value instead.');
301+
$this->expectDeprecation('Since symfony/doctrine-bridge 5.1: Not defining explicitly the IdReader as value callback when query can be optimized is deprecated. Don\'t pass the IdReader to "Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader" or define the "choice_value" option instead.');
302302
$loader = new DoctrineChoiceLoader(
303303
$this->om,
304304
$this->class,

0 commit comments

Comments
 (0)