Skip to content

Commit 078cf7c

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: fix test method name
2 parents 5ddbffc + 2125210 commit 078cf7c

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)