mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
More realistic SelectionGroup config
This commit is contained in:
parent
e98f22f400
commit
aaa56c176e
@ -160,12 +160,12 @@ class BasicFieldsTestPage extends TestPage
|
|||||||
Object::create('SelectionGroup', 'SelectionGroup', array(
|
Object::create('SelectionGroup', 'SelectionGroup', array(
|
||||||
new SelectionGroup_Item(
|
new SelectionGroup_Item(
|
||||||
'one',
|
'one',
|
||||||
new LiteralField('one', 'one view'),
|
TextField::create('SelectionGroupOne', 'one view'),
|
||||||
'SelectionGroup Option One'
|
'SelectionGroup Option One'
|
||||||
),
|
),
|
||||||
new SelectionGroup_Item(
|
new SelectionGroup_Item(
|
||||||
'two',
|
'two',
|
||||||
new LiteralField('two', 'two view'),
|
TextField::create('SelectionGroupOneTwo', 'two view'),
|
||||||
'SelectionGroup Option Two'
|
'SelectionGroup Option Two'
|
||||||
)
|
)
|
||||||
)),
|
)),
|
||||||
@ -217,7 +217,7 @@ class BasicFieldsTestPage extends TestPage
|
|||||||
}
|
}
|
||||||
|
|
||||||
$blacklist = array(
|
$blacklist = array(
|
||||||
'DMYDate', 'Required', 'Validated', 'ToggleCompositeField',
|
'DMYDate', 'Required', 'Validated', 'ToggleCompositeField', 'SelectionGroup'
|
||||||
);
|
);
|
||||||
|
|
||||||
$tabs = array('Root.Text', 'Root.Numeric', 'Root.Option', 'Root.DateTime', 'Root.File');
|
$tabs = array('Root.Text', 'Root.Numeric', 'Root.Option', 'Root.DateTime', 'Root.File');
|
||||||
|
Loading…
Reference in New Issue
Block a user