mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Fixed namespace regression
This commit is contained in:
parent
388db32af9
commit
d735641bc0
@ -215,7 +215,7 @@ class BasicFieldsTestPage extends TestPage
|
|||||||
|
|
||||||
$fields->addFieldsToTab('Root.File', array(
|
$fields->addFieldsToTab('Root.File', array(
|
||||||
AssetField::create('DBFile'),
|
AssetField::create('DBFile'),
|
||||||
$bla = UploadField::create('SilverStripe\\Assets\\File', 'FileUploadField')
|
$bla = UploadField::create('File', 'FileUploadField')
|
||||||
->setDescription($description)
|
->setDescription($description)
|
||||||
->setRightTitle($rightTitle)
|
->setRightTitle($rightTitle)
|
||||||
->setConfig('allowedMaxFileNumber', 1)
|
->setConfig('allowedMaxFileNumber', 1)
|
||||||
@ -224,7 +224,7 @@ class BasicFieldsTestPage extends TestPage
|
|||||||
->setDescription($description)
|
->setDescription($description)
|
||||||
->setRightTitle($rightTitle)
|
->setRightTitle($rightTitle)
|
||||||
->setConfig('canUpload', false),
|
->setConfig('canUpload', false),
|
||||||
UploadField::create('SilverStripe\\Assets\\Image', 'UploadField for image')
|
UploadField::create('Image', 'UploadField for image')
|
||||||
->setDescription($description)
|
->setDescription($description)
|
||||||
->setRightTitle($rightTitle),
|
->setRightTitle($rightTitle),
|
||||||
UploadField::create('HasManyFiles', 'UploadField for has_many')
|
UploadField::create('HasManyFiles', 'UploadField for has_many')
|
||||||
|
Loading…
Reference in New Issue
Block a user