mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-09 14:59:43 +00:00
Reparing tests
This commit is contained in:
@@ -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');
|
||||||
|
Reference in New Issue
Block a user