Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 1b3e731

Browse files
committed
Fix tests
1 parent 736227e commit 1b3e731

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Tests/Unit/Adapter/PhpcrOdmAdapterTest.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,17 @@ class PhpcrOdmAdapterTest extends \PHPUnit_Framework_TestCase
2121

2222
public function setUp()
2323
{
24-
parent::setUp();
25-
26-
$this->dm = $this->prophet->prophesize('Doctrine\ODM\PHPCR\DocumentManager');
27-
$this->metadataFactory = $this->prophet->prophesize('Doctrine\ODM\PHPCR\Mapping\ClassMetadataFactory');
28-
$this->metadata = $this->prophet->prophesize('Doctrine\ODM\PHPCR\Mapping\ClassMetadata');
24+
$this->dm = $this->prophesize('Doctrine\ODM\PHPCR\DocumentManager');
25+
$this->metadataFactory = $this->prophesize('Doctrine\ODM\PHPCR\Mapping\ClassMetadataFactory');
26+
$this->metadata = $this->prophesize('Doctrine\ODM\PHPCR\Mapping\ClassMetadata');
2927
$this->contentDocument = new \stdClass;
3028
$this->contentDocument2 = new \stdClass;
3129
$this->baseNode = new \stdClass;
3230
$this->parentRoute = new \stdClass;
33-
$this->route = $this->prophet->prophesize('Symfony\Cmf\Component\RoutingAuto\Model\AutoRouteInterface');
31+
$this->route = $this->prophesize('Symfony\Cmf\Component\RoutingAuto\Model\AutoRouteInterface');
3432

35-
$this->phpcrSession = $this->prophet->prophesize('PHPCR\SessionInterface');
36-
$this->phpcrRootNode = $this->prophet->prophesize('PHPCR\NodeInterface');
33+
$this->phpcrSession = $this->prophesize('PHPCR\SessionInterface');
34+
$this->phpcrRootNode = $this->prophesize('PHPCR\NodeInterface');
3735
$this->baseRoutePath = '/test';
3836

3937
$this->adapter = new PhpcrOdmAdapter($this->dm->reveal(), $this->baseRoutePath);

0 commit comments

Comments
 (0)