8000 [DoctrineBridge] fix tests by xabbuh · Pull Request #54331 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DoctrineBridge] fix tests #54331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
< 10000 div class="commit full-commit prh-commit px-2 pt-2 ">
fix tests
  • Loading branch information
xabbuh committed Mar 19, 2024
commit 9be8d52fe1cffedef93bc4f556ddf02583165273
4 changes: 2 additions & 2 deletions src/Symfony/Bridge/Doctrine/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"symfony/cache": "^5.4|^6.0",
"symfony/config": "^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
"symfony/form": "^5.4.21|^6.2.7",
"symfony/form": "^5.4.38|^6.4.6",
"symfony/http-kernel": "^5.0|^6.0",
"symfony/messenger": "^4.4|^5.0|^6.0",
"symfony/doctrine-messenger": "^5.1|^6.0",
Expand All @@ -56,7 +56,7 @@
"doctrine/orm": "<2.7.4",
"symfony/cache": "<5.4",
"symfony/dependency-injection": "<4.4",
"symfony/form": "<5.4.21|>=6,<6.2.7",
"symfony/form": "<5.4.38|>=6,<6.4.6",
"symfony/http-kernel": "<5",
"symfony/messenger": "<4.4",
"symfony/property-info": "<5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@ public function testPassIdAndNameToView()
$this->assertEquals('name', $view->vars['full_name']);
}

public function testStripLeadingUnderscoresAndDigitsFromId()
{
$view = $this->factory->createNamed('_09name', $this->getTestedType(), null, $this->getTestOptions())
->createView();

$this->assertEquals('name', $view->vars['id']);
$this->assertEquals('_09name', $view->vars['name']);
$this->assertEquals('_09name', $view->vars['full_name']);
}

public function testPassIdAndNameToViewWithParent()
{
$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)
Expand Down
0