8000 minor #54331 [DoctrineBridge] fix tests (xabbuh) · symfony/symfony@8c9979b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8c9979b

Browse files
committed
minor #54331 [DoctrineBridge] fix tests (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [DoctrineBridge] fix tests | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT follows #54329 Commits ------- 9be8d52 fix tests
2 parents 5c5c2e5 + 9be8d52 commit 8c9979b

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

src/Symfony/Bridge/Doctrine/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"symfony/cache": "^5.4|^6.0",
3131
"symfony/config": "^4.4|^5.0|^6.0",
3232
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
33-
"symfony/form": "^5.4.21|^6.2.7",
33+
"symfony/form": "^5.4.38|^6.4.6",
3434
"symfony/http-kernel": "^5.0|^6.0",
3535
"symfony/messenger": "^4.4|^5.0|^6.0",
3636
"symfony/doctrine-messenger": "^5.1|^6.0",
@@ -56,7 +56,7 @@
5656
"doctrine/orm": "<2.7.4",
5757
"symfony/cache": "<5.4",
5858
"symfony/dependency-injection": "<4.4",
59-
"symfony/form": "<5.4.21|>=6,<6.2.7",
59+
"symfony/form": "<5.4.38|>=6,<6.4.6",
6060
"symfony/http-kernel": "<5",
6161
"symfony/messenger": "<4.4",
6262
"symfony/property-info": "<5",

src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,6 @@ public function testPassIdAndNameToView()
4040
$this->assertEquals('name', $view->vars['full_name']);
4141
}
4242

43-
public function testStripLeadingUnderscoresAndDigitsFromId()
44-
{
45-
$view = $this->factory->createNamed('_09name', $this->getTestedType(), null, $this->getTestOptions())
46-
->createView();
47-
48-
$this->assertEquals('name', $view->vars['id']);
49-
$this->assertEquals('_09name', $view->vars['name']);
50-
$this->assertEquals('_09name', $view->vars['full_name']);
51-
}
52-
5343
public function testPassIdAndNameToViewWithParent()
5444
{
5545
$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)

0 commit comments

Comments
 (0)
0