mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 22:34:24 +00:00
Reparing tests
This commit is contained in:
parent
eb4da0a71d
commit
2d60c62d91
@ -49,7 +49,7 @@ class CustomFieldTestHelper
|
|||||||
//check a kernel is accessible
|
//check a kernel is accessible
|
||||||
$customFieldsGroup = $testCase->getMock('Chill\CustomFieldsBundle\Entity\CustomFieldsGroup');
|
$customFieldsGroup = $testCase->getMock('Chill\CustomFieldsBundle\Entity\CustomFieldsGroup');
|
||||||
$customFieldsGroup->expects($testCase->once())
|
$customFieldsGroup->expects($testCase->once())
|
||||||
->method('getCustomFields')
|
->method('getActiveCustomFields')
|
||||||
->will($testCase->returnValue(array($field)));
|
->will($testCase->returnValue(array($field)));
|
||||||
|
|
||||||
$request = $testCase->getMock('Symfony\Component\HttpFoundation\Request');
|
$request = $testCase->getMock('Symfony\Component\HttpFoundation\Request');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user