This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,17 @@ class PhpcrOdmAdapterTest extends \PHPUnit_Framework_TestCase
21
21
22
22
public function setUp ()
23
23
{
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 ' );
29
27
$ this ->contentDocument = new \stdClass ;
30
28
$ this ->contentDocument2 = new \stdClass ;
31
29
$ this ->baseNode = new \stdClass ;
32
30
$ 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 ' );
34
32
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 ' );
37
35
$ this ->baseRoutePath = '/test ' ;
38
36
39
37
$ this ->adapter = new PhpcrOdmAdapter ($ this ->dm ->reveal (), $ this ->baseRoutePath );
You can’t perform that action at this time.
0 commit comments