Skip to content

Commit 2d19281

Browse files
committed
add doctrine/persistence as a dev requirement
1 parent 2675741 commit 2d19281

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Tests/Controller/ControllerTraitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public function testCreateFormBuilder()
518518

519519
public function testGetDoctrine()
520520
{
521-
$doctrine = $this->getMockBuilder(ManagerRegistry::class)->getMock();
521+
$doctrine = $this->createMock(ManagerRegistry::class);
522522

523523
$container = new Container();
524524
$container->set('doctrine', $doctrine);

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"require-dev": {
3333
"doctrine/annotations": "^1.10.4",
3434
"doctrine/cache": "~1.0",
35+
"doctrine/persistence": "^1.3",
3536
"paragonie/sodium_compat": "^1.8",
3637
"symfony/asset": "^3.4|^4.0|^5.0",
3738
"symfony/browser-kit": "^4.3|^5.0",

0 commit comments

Comments
 (0)