1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 18:13:00 +01:00
guzzle/tests/bootstrap.php

26 lines
775 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__ . '/../vendor/Symfony/Component/ClassLoader/UniversalClassLoader.php';
$classLoader = new \Symfony\Component\ClassLoader\UniversalClassLoader();
$classLoader->registerNamespaces(array(
'Guzzle\Tests' => __DIR__,
'Guzzle' => __DIR__ . '/../src',
'Doctrine' => __DIR__ . '/../vendor/Doctrine/lib',
'Monolog' => __DIR__ . '/../vendor/Monolog/src'
));
$classLoader->registerPrefix('Zend_', __DIR__ . '/../vendor');
$classLoader->register();