Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 552 Bytes
<?php
// Tests/bootstrap.php
$loader = @include __DIR__ . '/../vendor/autoload.php';
if (!$loader) {
die(<<<'EOT'
You must set up the project dependencies, run the following commands:
wget http://getcomposer.org/composer.phar
php composer.phar install
EOT
);
}
use Doctrine\Common\ClassLoader;
$classLoader = new ClassLoader('Doctrine\Tests', __DIR__ . '/../tests');
$classLoader->register();
Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespace(
'Doctrine\ODM\CouchDB\Mapping\Annotations', __DIR__ . '/../lib'
);
Something went wrong with that request. Please try again.