Merge pull request #76 from creative-commoners/pulls/4/test-registry-classes-required

Amend TestRegistry* classes declaration
This commit is contained in:
Steve Boyd 2020-10-12 14:46:16 +13:00 committed by GitHub
commit fd800a3a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -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';

View File

@ -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()