Merge pull request #103 from ajoneil/remove-pre-53-support

MINOR: Remove checks for PHP <5.3.2, as it's no longer supported
This commit is contained in:
Sean Harvey 2012-04-17 16:19:40 -07:00
commit 0656d14c43

View File

@ -831,10 +831,6 @@ class SiteTreeTest extends SapphireTest {
}
function testClassDropdown() {
if(version_compare(PHP_VERSION, '5.3.2', '<')){
// @link http://www.php.net/manual/en/reflectionmethod.setaccessible.php
$this->markTestSkipped('Need PHP 5.3.2 to run this test.');
}
$sitetree = new SiteTree();
$method = new ReflectionMethod($sitetree, 'getClassDropdown');
$method->setAccessible(true);