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