[Pkg-owncloud-commits] [php-sabredav] 23/31: Ensuring vobject tests are still running.

David Prévot taffit at moszumanska.debian.org
Wed Aug 27 22:33:07 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 9ff8bd606f89e725006e595d7426a103429ad065
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Wed Aug 27 15:47:04 2014 +0200

    Ensuring vobject tests are still running.
---
 tests/bootstrap.php | 5 +++++
 tests/phpunit.xml   | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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');
 
diff --git a/tests/phpunit.xml b/tests/phpunit.xml
index ba4b3e1..fd40b01 100644
--- a/tests/phpunit.xml
+++ b/tests/phpunit.xml
@@ -7,7 +7,7 @@
   strict="true"
   >
   <testsuite name="sabre-vobject">
-      <directory>../vendor/sabre/vobject/tests/Sabre/VObject</directory>
+      <directory>../vendor/sabre/vobject/tests/VObject</directory>
   </testsuite>
   <testsuite name="sabre-event">
       <directory>../vendor/sabre/event/tests/Sabre/Event</directory>

-- 
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