Skip to content
Snippets Groups Projects
Commit c7650872 authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Christian Kuhn
Browse files

[BUGFIX] Fix incomplete mocking in DataMapFactoryTest

Using "expects" on $mockDataMapFactory may fail with
several methods like "setOneToOneRelation" as these methods
return a ColumnMap object but the mock doesn't.

This patch adds the missing "->will($this->return())"
for these methods.

Releases: 6.2
Resolves: #52724
Change-Id: Ic91a7c51b1451c039e20b8ac310fdb25b02e1d84
Reviewed-on: https://review.typo3.org/24628
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent 4907c200
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment