Fix filesystem tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
a25b46f494
commit
b668850aa1
|
@ -226,7 +226,11 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase {
|
||||||
$property->setValue($object, array_pop($parameters));
|
$property->setValue($object, array_pop($parameters));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $property->getValue($object);
|
if (is_object($object)) {
|
||||||
|
return $property->getValue($object);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $property->getValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue