Commit Graph

6 Commits

Author SHA1 Message Date
Robbie Averill 861f87514d API Update Subsite integration, remove Polyhome variant
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.
2017-12-05 14:29:53 +13:00
Robbie Averill e590132967 FIX Run phpcbf automated linting to fix PSR-2 code styles, add PSR-4 autoloader 2017-11-15 09:53:33 +13:00
Brett Tasker 73e4888715 SS 4.0 - Upgrade tests to SilverStripe 4.0 & Replace Phockito 2017-04-26 22:53:00 +12:00
Brett Tasker 0b7281b25e SS 4.0 - Update references to thirdparty Solr API as its not namespaced 2017-04-22 21:30:02 +12:00
Brett Tasker 9d5ea9393d Batch fixes for tests #2 2017-04-21 14:14:30 +12:00
Brett Tasker 0ebf6e6220 Second push of Test changes + namespacing 2017-04-21 13:18:37 +12:00