mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Amend TestRegistry* classes declaration
This commit is contained in:
parent
c5191b5f78
commit
b529dc6353
@ -6,10 +6,6 @@ use SilverStripe\ORM\DataObject;
|
||||
use SilverStripe\ORM\DB;
|
||||
use SilverStripe\Registry\RegistryDataInterface;
|
||||
|
||||
if (!interface_exists(RegistryDataInterface::class)) {
|
||||
return;
|
||||
}
|
||||
|
||||
class TestRegistryDataObject extends DataObject implements RegistryDataInterface
|
||||
{
|
||||
private static $table_name = 'TestRegistryDataObject';
|
||||
|
@ -6,10 +6,6 @@ use SilverStripe\Registry\RegistryPage;
|
||||
use SilverStripe\Security\DefaultAdminService;
|
||||
use SilverStripe\Security\Member;
|
||||
|
||||
if (!class_exists(RegistryPage::class)) {
|
||||
return;
|
||||
}
|
||||
|
||||
class TestRegistryPage extends RegistryPage
|
||||
{
|
||||
public function requireDefaultRecords()
|
||||
|
Loading…
Reference in New Issue
Block a user