We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e3b315 commit e151754Copy full SHA for e151754
form/unit_testing.rst
@@ -132,7 +132,7 @@ make sure the ``FormRegistry`` uses the created instance::
132
protected function setUp()
133
{
134
// mock any dependencies
135
- $this->entityManager = $this->getMock('Doctrine\Common\Persistence\ObjectManager');
+ $this->entityManager = $this->getMockBuilder('Doctrine\Common\Persistence\ObjectManager')->getMock();
136
137
parent::setUp();
138
}
0 commit comments