[Pkg-owncloud-commits] [php-sabredav] 154/275: Ensuring vobject test classes can be autoloaded.

David Prévot taffit at moszumanska.debian.org
Thu Sep 25 14:56:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 0294aa4fd2421425124d38c6933b3ccdb98f0418
Author: Evert Pot <me at evertpot.com>
Date:   Wed Aug 13 15:59:27 2014 -0400

    Ensuring vobject test classes can be autoloaded.
---
 tests/bootstrap.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index bd96535..e74f387 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -3,7 +3,12 @@
 set_include_path(__DIR__ . '/../lib/' . PATH_SEPARATOR . __DIR__ . PATH_SEPARATOR . get_include_path());
 
 $autoLoader = include __DIR__ . '/../vendor/autoload.php';
+
+// SabreDAV tests auto loading
 $autoLoader->add('Sabre\\', __DIR__);
+// VObject tests auto loadiong
+$autoLoader->addPsr4('Sabre\\VObject\\',__DIR__ . '/../vendor/sabre/vobject/tests/VObject');
+
 
 date_default_timezone_set('UTC');
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list