8000 minor #42989 [DoctrineBridge] fix test method name (xabbuh) · symfony/symfony@7d27bff · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d27bff

Browse files
committed
minor #42989 [DoctrineBridge] fix test method name (xabbuh)
This PR was merged into the 5.3 branch. Discussion ---------- [DoctrineBridge] fix test method name | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Previously, the test was never executed because the method name did not start with the "test" prefix. Commits ------- dc2c6c5 fix test method name
2 parents 36aff48 + dc2c6c5 commit 7d27bff

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