Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reflection set-accessible check

  • Loading branch information...
commit a7c75172c3cb3ae392f4ccdb7280524873569548 1 parent 692a8c6
pce authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/Config_LiteTest.php
View
2  tests/Config_LiteTest.php
@@ -333,7 +333,7 @@ protected function getMethod($name)
{
$class = new ReflectionClass('Config_Lite');
$method = $class->getMethod($name);
- if (!method_exists($class, 'setAccessible')) {
+ if (!method_exists($method, 'setAccessible')) {
$this->markTestSkipped("This test requires PHP 5.3.0+");
}
$method->setAccessible(true);
Please sign in to comment.
Something went wrong with that request. Please try again.