Skip to content

Commit

Permalink
Fix value object mapper test base class
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Levin committed Jul 18, 2017
1 parent f838189 commit fb24894
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function testPersistsObject(array $expectedRowData, IValueObject $object)
$row = new Row($this->mapper->getDefinition()->getTable(), []);

/** @var PersistenceContext $context */
$context = $this->getMockBuilder(PersistenceContext::class)->disableOriginalConstructor()->createMock();
$context = $this->getMockBuilder(PersistenceContext::class)->disableOriginalConstructor()->getMock();
$this->mapper->persistAllToRowsBeforeParent(
$context,
[$object],
Expand Down

0 comments on commit fb24894

Please sign in to comment.