1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-16 05:44:37 +01:00
guzzle/tests/bootstrap.php

25 lines
737 B
PHP

<?php
/**
* @package Guzzle PHP <http://www.guzzlephp.org>
* @license See the LICENSE file that was distributed with this source code.
*
* This file bootstraps the test environment.
*/
namespace Guzzle\Tests;
error_reporting(E_ALL | E_STRICT);
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once __DIR__ . '/../library/vendor/Symfony/Component/ClassLoader/UniversalClassLoader.php';
$classLoader = new \Symfony\Component\ClassLoader\UniversalClassLoader();
$classLoader->registerNamespaces(array(
'Guzzle\Tests' => __DIR__,
'Guzzle' => __DIR__ . '/../library',
'Doctrine' => __DIR__ . '/../library/vendor'
));
$classLoader->registerPrefix('Zend_', __DIR__ . '/../library/vendor');
$classLoader->register();