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