Robbie Averill
45c402fc4c
API Remove bind_manipulation_capture and RequestFilter, use Injector instead
2017-12-07 09:12:57 +13:00
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
Robbie Averill
b448bfcd20
NEW Add config for shutdown flush, remove references to Object and update tests
2017-11-14 17:05:30 +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
43dd2ba398
SS 4.0 - Replace inst()->update with modify()->set and hasOne with hasOneComponent
2017-04-22 21:31:34 +12:00
Brett Tasker
6066af5841
Update Search Manipulater
2017-04-21 16:34:04 +12:00
Brett Tasker
9d5ea9393d
Batch fixes for tests #2
2017-04-21 14:14:30 +12:00
Brett Tasker
6a2a4a8dd2
Update namespacing for Search indexes and variants in tests
2017-04-21 13:32:39 +12:00
Brett Tasker
ddbab95e3f
Namespacing for tests
2017-04-21 12:23:27 +12:00
Damian Mooyman
ec5e4f4581
BUG Fix versioned writes where subtables have no fields key
...
BUG Remove unnecessary config nesting in tests which are now handled via core
Fixes some regressions in recent framework fixes to versioned
2016-04-15 15:46:19 +12:00
helpfulrobot
314feddd48
Converted to PSR-2
2015-11-21 19:19:20 +13:00
Sean Harvey
e22d6053e5
Adding tests for SearchIndex::fieldData()
2014-08-21 16:58:59 +12:00
Sam Minnee
4b51393e01
Don't rely on MySQL ordering of index->getAdded()
...
MySQL is more reliable in its output ordering of elements where the order doesn't matter.
PostgreSQL is not. This meant that this test "accidentally passed" on MySQL and failed on
PostgreSQL. The sort function resolves this.
2014-02-14 11:32:24 +13:00
Hamish Friedlander
03a206109a
Make tests run
2013-09-11 14:35:01 +12:00
Hamish Friedlander
dbd68dc300
API Move SearchUpdate queue handling to DIed processor, add QueuedJob support
2013-07-25 14:28:10 +12:00
Ingo Schommer
2c7d6d0ab8
BUG Only index date fields with values
...
Otherwise the values end up being the start of epoch (1970-01-01)
by default, which can throw off search filters. See README additions for details.
2012-08-29 21:00:40 +02:00
Hamish Friedlander
4766794cea
BUG Tests need to call bind_manipulation_capture manually
2012-07-19 17:08:07 +12:00
Hamish Friedlander
17be5a3e63
Import first version of fulltextsearch module
2011-05-02 16:33:05 +12:00