mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
TreeMultiselectFieldTest / make scrutinizer happy
This commit is contained in:
parent
38f8217f01
commit
4ee63eb4e7
@ -15,6 +15,41 @@ class TreeMultiselectFieldTest extends SapphireTest
|
||||
protected $formId = 'TheFormID';
|
||||
protected $fieldName = 'TestTree';
|
||||
|
||||
/**
|
||||
* Mock object of a generic form
|
||||
*
|
||||
* @var Form
|
||||
*/
|
||||
protected $form;
|
||||
|
||||
/**
|
||||
* Instance of the TreeMultiselectField
|
||||
*
|
||||
* @var TreeMultiselectField
|
||||
*/
|
||||
protected $field;
|
||||
|
||||
/**
|
||||
* The File objects of folders loaded from the fixture
|
||||
*
|
||||
* @var File[]
|
||||
*/
|
||||
protected $folders;
|
||||
|
||||
/**
|
||||
* The array of folder ids
|
||||
*
|
||||
* @var int[]
|
||||
*/
|
||||
protected $folderIds;
|
||||
|
||||
/**
|
||||
* Concatenated folder ids for use as a value for the field
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $fieldValue;
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
Loading…
Reference in New Issue
Block a user