Updated test extension test
This commit is contained in:
parent
ac6ded877f
commit
3b6ad05b6d
@ -25,7 +25,7 @@ abstract class ShimmiePHPUnitTestCase extends \PHPUnit\Framework\TestCase
|
|||||||
$class = str_replace("Test", "", get_class($this));
|
$class = str_replace("Test", "", get_class($this));
|
||||||
if (!class_exists($class)) {
|
if (!class_exists($class)) {
|
||||||
$this->markTestSkipped("$class not loaded");
|
$this->markTestSkipped("$class not loaded");
|
||||||
} elseif (!ext_is_live($class)) {
|
} elseif (!ExtensionInfo::get_for_extension_class($class)->is_supported()) {
|
||||||
$this->markTestSkipped("$class not supported with this database");
|
$this->markTestSkipped("$class not supported with this database");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user