Fix filesystem tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2020-12-03 16:18:01 +01:00
parent a25b46f494
commit b668850aa1
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 5 additions and 1 deletions

View File

@ -226,9 +226,13 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase {
$property->setValue($object, array_pop($parameters));
}
if (is_object($object)) {
return $property->getValue($object);
}
return $property->getValue();
}
return false;
}