8000 fix test method name · symfony/symfony@dc2c6c5 · GitHub
[go: up one dir, main page]

Skip to content

Commit dc2c6c5

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 36aff48 commit dc2c6c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bridge/Doctrine/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)
0