Skip to content
Browse files

Fix tests

  • Loading branch information...
1 parent 6bae56e commit b6f91c71fe3fe0b5213fc99d152f933e800438ff @GromNaN committed May 25, 2012
Showing with 5 additions and 3 deletions.
  1. +3 −1 tests/Buzy/Tests/Listener/CallbackListenerTest.php
  2. +2 −2 tests/bootstrap.php
View
4 tests/Buzy/Tests/Listener/CallbackListenerTest.php
@@ -4,8 +4,10 @@
use Buzy\Listener\CallbackListener;
use Buzy\BrowserEvent;
+use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
-class CookieListenerTest extends \PHPUnit_Framework_TestCase
+class CallbackListenerTest extends \PHPUnit_Framework_TestCase
{
public function testCallbacks()
{
View
4 tests/bootstrap.php
@@ -3,8 +3,8 @@
/**
* Use composer autoloader depending of the installation context.
*/
-if (file_exists($file = __DIR__.'/../../../.composer/autoload.php')
- || file_exists($file = __DIR__.'/../vendor/.composer/autoload.php')) {
+if (file_exists($file = __DIR__.'/../../../autoload.php')
+ || file_exists($file = __DIR__.'/../vendor/autoload.php')) {
$loader = require $file;
$loader->add('Buzy\\Tests', __DIR__);
} else {

0 comments on commit b6f91c7

Please sign in to comment.
Something went wrong with that request. Please try again.