BUGFIX Skip NamespacedClassManifestTest on PHP versions before 5.3

This commit is contained in:
Simon Welsh 2011-12-17 14:25:23 +13:00
parent 3e6a91a07f
commit 97f8cc4ab3

View File

@ -12,7 +12,11 @@ class NamespacedClassManifestTest extends SapphireTest {
public function setUp() {
parent::setUp();
if(version_compare(PHP_VERSION, '5.3', '<')) {
$this->markTestSkipped('Namespaces are not supported before PHP 5.3');
}
$this->base = dirname(__FILE__) . '/fixtures/namespaced_classmanifest';
$this->manifest = new SS_ClassManifest($this->base, false, true, false);
}