mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
861f87514d
Add a method to clear cached variants from SearchVariant, and a configuration flag for whether a variant should be enabled or not. Add a FullTextSearch TestState class which will globally disable the queuedjobs and fulltextsearch shutdown handlers during tests, and is not used to clear cached variants on each test to prevent global state leakage. Also removes Phockito as a test dependency.
18 lines
449 B
YAML
18 lines
449 B
YAML
SilverStripe\Subsites\Model\Subsite:
|
|
main:
|
|
Title: Template
|
|
subsite1:
|
|
Title: 'Subsite1 Template'
|
|
subsite2:
|
|
Title: 'Subsite2 Template'
|
|
|
|
SilverStripe\Subsites\Model\SubsiteDomain:
|
|
subsite1:
|
|
SubsiteID: =>SilverStripe\Subsites\Model\Subsite.subsite1
|
|
Domain: www.subsite1.com
|
|
Protocol: automatic
|
|
subsite2:
|
|
SubsiteID: =>SilverStripe\Subsites\Model\Subsite.subsite2
|
|
Domain: www.subsite2.com
|
|
Protocol: automatic
|