minor #39968 [FrameworkBundle] add doctrine/persistence as a dev requirement (xabbuh)
This PR was merged into the 4.4 branch.
Discussion
----------
[FrameworkBundle] add doctrine/persistence as a dev requirement
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | Fix https://github.com/symfony/symfony/pull/39941#discussion_r563736775
| License | MIT
| Doc PR |
Otherwise, we are testing something that will never be possible in a real application.
Commits
-------
6ea9e4d7ca
add doctrine/persistence as a dev requirement
This commit is contained in:
commit
11290f9c8d
@ -518,7 +518,7 @@ abstract class ControllerTraitTest extends TestCase
|
|||||||
|
|
||||||
public function testGetDoctrine()
|
public function testGetDoctrine()
|
||||||
{
|
{
|
||||||
$doctrine = $this->getMockBuilder(ManagerRegistry::class)->getMock();
|
$doctrine = $this->createMock(ManagerRegistry::class);
|
||||||
|
|
||||||
$container = new Container();
|
$container = new Container();
|
||||||
$container->set('doctrine', $doctrine);
|
$container->set('doctrine', $doctrine);
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/annotations": "^1.10.4",
|
"doctrine/annotations": "^1.10.4",
|
||||||
"doctrine/cache": "~1.0",
|
"doctrine/cache": "~1.0",
|
||||||
|
"doctrine/persistence": "^1.3",
|
||||||
"paragonie/sodium_compat": "^1.8",
|
"paragonie/sodium_compat": "^1.8",
|
||||||
"symfony/asset": "^3.4|^4.0|^5.0",
|
"symfony/asset": "^3.4|^4.0|^5.0",
|
||||||
"symfony/browser-kit": "^4.3|^5.0",
|
"symfony/browser-kit": "^4.3|^5.0",
|
||||||
|
Reference in New Issue
Block a user