silverstripe-fulltextsearch/tests
madmatt 665490dfde MINOR: Don't include Hamcrest globally so it doesn't conflict with PHPUnit
PHPUnit now includes matching functions like `any()` and `anything()` outside of a namespace, which conflicts with `Phockito` that does the same thing when calling `Phockito::include_hamcrest(true)`.

This test in particular breaks Behat, because the file includes a class (`SolrReindexTest_Item`) that extends `DataObject`, meaning that this file gets included very early in the initialisation process.

Instead, we can just set `Phockito::include_hamcrest(false)` and use the full path to the Hamcrest matching functions instead (e.g. `\Hamcrest_Matchers::anything()`).
2015-11-27 12:43:33 +13:00
..
BatchedProcessorTest.php Converted to PSR-2 2015-11-21 19:19:20 +13:00
SearchUpdaterTest.php Converted to PSR-2 2015-11-21 19:19:20 +13:00
SearchVariantSiteTreeSubsitesPolyhomeTest.php Converted to PSR-2 2015-11-21 19:19:20 +13:00
SearchVariantVersionedTest.php Converted to PSR-2 2015-11-21 19:19:20 +13:00
Solr4ServiceTest.php Converted to PSR-2 2015-11-21 19:19:20 +13:00
SolrIndexTest.php MINOR: Don't include Hamcrest globally so it doesn't conflict with PHPUnit 2015-11-27 12:43:33 +13:00
SolrIndexVersionedTest.php MINOR: Don't include Hamcrest globally so it doesn't conflict with PHPUnit 2015-11-27 12:43:33 +13:00
SolrReindexQueuedTest.php MINOR: Don't include Hamcrest globally so it doesn't conflict with PHPUnit 2015-11-27 12:43:33 +13:00
SolrReindexTest.php MINOR: Don't include Hamcrest globally so it doesn't conflict with PHPUnit 2015-11-27 12:43:33 +13:00