mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Added tests for HTML editing and image upload in ModelAdmin
This commit is contained in:
parent
ae618798b3
commit
2cf6e3c242
@ -8,10 +8,12 @@ class Employee extends DataObject {
|
||||
|
||||
public static $db = array(
|
||||
'Name' => 'Varchar',
|
||||
'Biography' => 'HTMLText'
|
||||
);
|
||||
|
||||
public static $has_one = array(
|
||||
'Company' => 'Company'
|
||||
'Company' => 'Company',
|
||||
'ProfileImage' => 'Image'
|
||||
);
|
||||
|
||||
public function requireDefaultRecords() {
|
||||
|
Loading…
Reference in New Issue
Block a user