mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
FIX Only add extension if elemental module exists
This commit is contained in:
parent
ce4dec4ea7
commit
d0deef8719
@ -20,3 +20,7 @@ SilverStripe\FrameworkTest\Elemental\Model\ElementalBehatTestObject:
|
||||
extensions:
|
||||
- DNADesign\Elemental\Extensions\ElementalAreasExtension
|
||||
- SilverStripe\FrameworkTest\Elemental\Extension\ElementalBehatTestExtension
|
||||
|
||||
BasicElementalPage:
|
||||
extensions:
|
||||
- DNADesign\Elemental\Extensions\ElementalPageExtension
|
||||
|
@ -1,10 +1,6 @@
|
||||
<?php
|
||||
|
||||
use DNADesign\Elemental\Extensions\ElementalPageExtension;
|
||||
// DNADesign\Elemental\Extensions\ElementalPageExtension is added in extensions.yml
|
||||
|
||||
class BasicElementalPage extends Page
|
||||
{
|
||||
private static $extensions = [
|
||||
ElementalPageExtension::class,
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user