Added tests for HTML editing and image upload in ModelAdmin

This commit is contained in:
Ingo Schommer 2012-11-27 12:15:09 +01:00
parent ae618798b3
commit 2cf6e3c242

View File

@ -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() {