mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
23 lines
528 B
PHP
23 lines
528 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Controller\Client;
|
|
use Symfony\Bundle\FrameworkBundle\Client;
|
|
|
|
/**
|
|
* @group functional
|
|
* @group legacy
|
|
* @group authenticated
|
|
* @group web
|
|
*/
|
|
class RootTest extends \PhraseanetAuthenticatedWebTestCase
|
|
{
|
|
public function testGetClient()
|
|
{
|
|
$this->authenticate(self::$DI['app']);
|
|
/** @var Client $client */
|
|
$client = self::$DI['client'];
|
|
$client->request("GET", "/client/");
|
|
$this->assertTrue($client->getResponse()->isRedirect());
|
|
}
|
|
}
|