Commit d0a82b1a authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Passage de Doctrine\Common\Persistence à Doctrine\Persistence suite upgrade libs

parent 52c908ba
Pipeline #12063 passed with stage
in 23 seconds
......@@ -49,10 +49,10 @@ class DbServiceFactoryTest extends BaseServiceFactoryTest
]
];
$objectManager = $this->getMockForAbstractClass('Doctrine\Common\Persistence\ObjectManager', ['getRepository']);
$objectManager = $this->getMockForAbstractClass('Doctrine\Persistence\ObjectManager', ['getRepository']);
$objectManager->expects($this->once())
->method('getRepository')
->will($this->returnValue($this->createMock('Doctrine\Common\Persistence\ObjectRepository'/*, []*/)));
->will($this->returnValue($this->createMock('Doctrine\Persistence\ObjectRepository'/*, []*/)));
$map = [
['BjyAuthorize\Config', $options],
......
......@@ -18,7 +18,7 @@ class DbTest extends TestCase
protected function setUp()
{
$this->objectRepository = $this->createMock('Doctrine\Common\Persistence\ObjectRepository'/*, []*/);
$this->objectRepository = $this->createMock('Doctrine\Persistence\ObjectRepository'/*, []*/);
$this->provider = new DbRole($this->objectRepository);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment