mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 12:03:14 +00:00
22 lines
437 B
PHP
22 lines
437 B
PHP
<?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();
|
|
}
|
|
}
|