silverstripe-framework/tests/php/Forms/FormFactoryTest/TestObject.php

24 lines
453 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\Forms\Tests\FormFactoryTest;
2017-02-21 21:09:20 +01:00
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\Versioning\Versioned;
/**
* @mixin Versioned
*/
2017-02-21 21:09:20 +01:00
class TestObject extends DataObject implements TestOnly
{
private static $table_name = 'FormFactoryTest_TestObject';
private static $db = [
'Title' => 'Varchar',
];
private static $extensions = [
Versioned::class,
];
}