2017-06-21 16:29:40 +12:00
|
|
|
<?php
|
|
|
|
|
2017-08-09 14:53:38 +12:00
|
|
|
namespace SilverStripe\CMS\Tests\Model;
|
2017-08-09 13:25:12 +12:00
|
|
|
|
2017-06-21 16:29:40 +12:00
|
|
|
use SilverStripe\Dev\TestOnly;
|
2018-05-04 01:04:18 +00:00
|
|
|
use SilverStripe\CMS\Model\SiteTree;
|
2017-08-09 13:25:12 +12:00
|
|
|
|
2017-06-21 16:29:40 +12:00
|
|
|
/**
|
|
|
|
* An empty SiteTree instance with a controller to test that legacy controller names can still be loaded
|
|
|
|
*/
|
2018-05-04 01:04:18 +00:00
|
|
|
class SiteTreeTest_LegacyControllerName extends SiteTree implements TestOnly
|
2017-06-21 16:29:40 +12:00
|
|
|
{
|
2017-08-09 14:53:38 +12:00
|
|
|
private static $table_name = 'SiteTreeTest_LegacyControllerName';
|
2017-06-21 16:29:40 +12:00
|
|
|
}
|