diff options
Diffstat (limited to 'vendor/sabre/vobject/tests')
-rw-r--r-- | vendor/sabre/vobject/tests/bootstrap.php | 10 | ||||
-rw-r--r-- | vendor/sabre/vobject/tests/phpunit.xml | 9 |
2 files changed, 14 insertions, 5 deletions
diff --git a/vendor/sabre/vobject/tests/bootstrap.php b/vendor/sabre/vobject/tests/bootstrap.php index 2496aa4ff..46e9014cb 100644 --- a/vendor/sabre/vobject/tests/bootstrap.php +++ b/vendor/sabre/vobject/tests/bootstrap.php @@ -13,3 +13,13 @@ foreach ($try as $path) { break; } } + +$autoLoader->addPsr4('Sabre\\VObject\\', __DIR__.'/VObject'); + +if (!defined('SABRE_TEMPDIR')) { + define('SABRE_TEMPDIR', __DIR__.'/temp/'); +} + +if (!file_exists(SABRE_TEMPDIR)) { + mkdir(SABRE_TEMPDIR); +} diff --git a/vendor/sabre/vobject/tests/phpunit.xml b/vendor/sabre/vobject/tests/phpunit.xml index c9abae412..46dad6a3d 100644 --- a/vendor/sabre/vobject/tests/phpunit.xml +++ b/vendor/sabre/vobject/tests/phpunit.xml @@ -6,12 +6,11 @@ convertWarningsToExceptions="true" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" + beStrictAboutTestSize="true" > - <testsuites> - <testsuite name="Sabre\VObject"> - <directory>VObject/</directory> - </testsuite> - </testsuites> + <testsuite name="Sabre\VObject"> + <directory>VObject/</directory> + </testsuite> <filter> <whitelist addUncoveredFilesFromWhitelist="true"> |