Commit d0a82b1a authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

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

parent 52c908ba
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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],
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }