mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Merge pull request #76 from creative-commoners/pulls/4/test-registry-classes-required
Amend TestRegistry* classes declaration
This commit is contained in:
commit
fd800a3a79
@ -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