Closed emteknetnz closed 2 years ago
When using the TestSession with behat on a project while silverstripe-fulltextsearch is installed, the following chain of events happens
register_shutdown_function(array(SearchUpdater::class, "flush_dirty_indexes"));
flush_dirty_indexes
SearchUpdateProcessor::process()
No database selected
When using the TestSession with behat on a project while silverstripe-fulltextsearch is installed, the following chain of events happens
register_shutdown_function(array(SearchUpdater::class, "flush_dirty_indexes"));
flush_dirty_indexes
will eventually callSearchUpdateProcessor::process()
- which will do a bunch of DB queriesNo database selected
errors