mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
BUG Fix table_name config for test pages
This commit is contained in:
parent
8400ae55e4
commit
4c940e789c
@ -36,6 +36,8 @@ use SilverStripe\Forms\HTMLReadonlyField;
|
||||
|
||||
class BasicFieldsTestPage extends TestPage
|
||||
{
|
||||
private static $table_name = 'BasicFieldsTestPage';
|
||||
|
||||
private static $db = array(
|
||||
'CalendarDate' => 'Date',
|
||||
'Checkbox' => 'Boolean',
|
||||
|
@ -11,6 +11,7 @@ use SilverStripe\Forms\Form;
|
||||
|
||||
class GridFieldTestPage extends TestPage
|
||||
{
|
||||
private static $table_name = 'GridFieldTestPage';
|
||||
|
||||
private static $has_one = array(
|
||||
"HasOneCompany" => "SilverStripe\\FrameworkTest\\Model\\Company",
|
||||
|
@ -10,6 +10,7 @@ use SilverStripe\Forms\TreeMultiselectField;
|
||||
|
||||
class RelationFieldsTestPage extends TestPage
|
||||
{
|
||||
private static $table_name = 'RelationFieldsTestPage';
|
||||
|
||||
private static $has_one = array(
|
||||
"HasOneCompany" => "SilverStripe\\FrameworkTest\\Model\\Company",
|
||||
|
@ -13,6 +13,7 @@ use SilverStripe\Forms\Form;
|
||||
|
||||
class TestFileUploadPage extends TestPage
|
||||
{
|
||||
private static $table_name = 'TestFileUploadPage';
|
||||
}
|
||||
|
||||
class TestFileUploadPage_Controller extends TestPage_Controller
|
||||
|
@ -19,6 +19,7 @@ use SilverStripe\Security\Security;
|
||||
*/
|
||||
class TestPage extends Page
|
||||
{
|
||||
private static $table_name = 'TestPage';
|
||||
|
||||
/**
|
||||
* We can only create subclasses of TestPage
|
||||
|
Loading…
Reference in New Issue
Block a user