[Pkg-owncloud-commits] [owncloud] 26/122: Allow setting protected properties
David Prévot
taffit at moszumanska.debian.org
Sat May 9 00:00:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit cf4a6874fb3b699e4d2ca85e2a6aa68f9288a609
Author: Joas Schilling <nickvergessen at owncloud.com>
Date: Mon Apr 27 15:22:48 2015 +0200
Allow setting protected properties
---
tests/lib/helper.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/lib/helper.php b/tests/lib/helper.php
index 53a3e1a..ed15a67 100644
--- a/tests/lib/helper.php
+++ b/tests/lib/helper.php
@@ -523,6 +523,10 @@ class Test_Helper extends \Test\TestCase {
$property->setAccessible(true);
+ if (!empty($parameters)) {
+ $property->setValue($object, array_pop($parameters));
+ }
+
return $property->getValue($object);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list