mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
SS 4.0 - Skip Subsite tests if module is not installed
This commit is contained in:
parent
43dd2ba398
commit
168b6745b4
@ -26,6 +26,7 @@ class SolrIndexSubsitesTest extends SapphireTest {
|
||||
// Prevent parent::setUp() crashing on db build
|
||||
if (!class_exists('Subsite')) {
|
||||
$this->skipTest = true;
|
||||
$this->markTestSkipped("These tests need the Subsite module installed to run");
|
||||
}
|
||||
|
||||
parent::setUp();
|
||||
|
Loading…
Reference in New Issue
Block a user