|
@@ -35,7 +35,7 @@ |
|
|
block discarded – undo |
|
35
|
35
|
$this->cm = new TestObjectMetadata(); |
|
36
|
36
|
$this->om = $this->createMock(ObjectManager::class); |
|
37
|
37
|
$this->om->expects($this->any())->method('getClassMetadata') |
|
38
|
|
- ->will($this->returnValue($this->cm)); |
|
|
38
|
+ ->will($this->returnValue($this->cm)); |
|
39
|
39
|
$this->object = new TestObject(); |
|
40
|
40
|
PersistentObject::setObjectManager($this->om); |
|
41
|
41
|
$this->object->injectObjectManager($this->om, $this->cm); |
Please login to merge, or discard this patch.