Use composer as application autoloader

This commit is contained in:
Romain Neutron
2013-01-18 17:47:25 +01:00
parent 358cdddcc6
commit 2069d40544
784 changed files with 1031 additions and 1806 deletions

View File

@@ -0,0 +1,21 @@
<?php
use Silex\WebTestCase;
use Symfony\Component\HttpKernel\Client;
use Symfony\Component\HttpFoundation\Response;
abstract class PhraseanetPHPUnitAuthenticatedAbstract extends PhraseanetPHPUnitAbstract
{
public function setUp()
{
parent::setUp();
$this->authenticate(self::$DI['app']);
}
public function tearDown()
{
$this->logout(self::$DI['app']);
parent::tearDown();
}
}