<?php

error_reporting(-1);
date_default_timezone_set('UTC');
// Ensure that composer has installed all dependencies
if (!file_exists(dirname(__DIR__) . '/composer.lock')) {
    die("Dependencies must be installed using composer:\n\nphp composer.phar install\n\n" . "See http://getcomposer.org for help with installing composer\n");
}
// Include the composer autoloader
$loader = (require dirname(__DIR__) . '/vendor/autoload.php');
$loader->add('Ctc\\Test', __DIR__);
// Register services with the GuzzleTestCase
Guzzle\Tests\GuzzleTestCase::setMockBasePath(__DIR__ . '/mock');
// Emit deprecation warnings
Guzzle\Common\Version::$emitWarnings = true;
Beispiel #2
0
 public static function tearDownAfterClass()
 {
     \Guzzle\Common\Version::$emitWarnings = true;
 }